INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Import problem from command line  (Read 1833 times)

OverZealous

  • Guest
Import problem from command line
« on: February 17, 2006, 06:41:38 am »

I've only just begun using MC11.1 (up from version 10), and I'm experiencing a regular crash.  Everytime I try to use the MC11.exe command line to SilentImport a file while MC is not running, I get a generic VC++ runtime error on Media Center.exe.  It says:

"This application has requested the runtime to terminate it in an unusual way."

It seems to happen with any file I import, whether or not it is in the library already.

I don't think this was happening with .121 - and I think I skipped over .122.

- Phil DeJarnett
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71702
  • Where did I put my teeth?
Re: Import problem from command line
« Reply #1 on: February 17, 2006, 06:59:45 am »

In MC Help, turn on logging and post the end of a log file here.

Does it happen if  you import from within the program?

Are you using any third party plug-ins or programs?  Audioscrobbler, for example.
Logged

OverZealous

  • Guest
Re: Import problem from command line
« Reply #2 on: February 17, 2006, 07:05:32 am »

I'm not using any 3rd party plugins that I can think of.  I installed a couple, but then uninstalled them (Sparta's cover art and lyrics plugins).
Logged

OverZealous

  • Guest
Re: Import problem from command line
« Reply #3 on: February 17, 2006, 07:06:55 am »

Here's the log:

0000672: General: CMCPlayerApp::ExecuteCommandLine: Start
0000672: General: CMCPlayerApp::ExecuteCommandLine: Command Line: /SilentImport "S:\W\Weird Al Yankovic\Weird Al Yankovic - Alapalooza\01 - Weird Al Yankovic - Alapalooza - Jurassic Park.mp3"
0000672: Database: MCDB::Unload: Start
0000672: Database: MCDB::Unload: Unloading
0000672: Database: MCDB::Unload: Resetting info
0000672: Database: MCDB::Unload: Finish (0 ms)
0000672: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\mediafiles.jmd
0000672: Database: MCDB::GetRMDB: Creating object
0000688: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\removable.jmd
0000688: CD: CCDInfo::GetVolumeInformation: Start
0000688: CD: CCDInfo::GetVolumeInformation: m_strDrive=F:
0000688: CD: CCDInfo::MMCDriveReady: Start
0000688: CD: CCDInfo::MMCDriveReady: DeviceIoControl returns bStatus=0, ULONG returned=0
0000688: CD: CCDInfo::MMCDriveReady: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: returning TRUE because MMCDriveReady returned FALSE, volume ID=0
0000688: CD: CCDInfo::GetVolumeInformation: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: Start
0000688: CD: CCDInfo::GetVolumeInformation: m_strDrive=F:
0000688: CD: CCDInfo::MMCDriveReady: Start
0000688: CD: CCDInfo::MMCDriveReady: DeviceIoControl returns bStatus=0, ULONG returned=0
0000688: CD: CCDInfo::MMCDriveReady: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: returning TRUE because MMCDriveReady returned FALSE, volume ID=0
0000688: CD: CCDInfo::GetVolumeInformation: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: Start
0000688: CD: CCDInfo::GetVolumeInformation: m_strDrive=E:
0000688: CD: CCDInfo::MMCDriveReady: Start
0000688: CD: CCDInfo::MMCDriveReady: DeviceIoControl returns bStatus=0, ULONG returned=0
0000688: CD: CCDInfo::MMCDriveReady: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: returning TRUE because MMCDriveReady returned FALSE, volume ID=0
0000688: CD: CCDInfo::GetVolumeInformation: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: Start
0000688: CD: CCDInfo::GetVolumeInformation: m_strDrive=E:
0000688: CD: CCDInfo::MMCDriveReady: Start
0000688: CD: CCDInfo::MMCDriveReady: DeviceIoControl returns bStatus=0, ULONG returned=0
0000688: CD: CCDInfo::MMCDriveReady: Finish (0 ms)
0000688: CD: CCDInfo::GetVolumeInformation: returning TRUE because MMCDriveReady returned FALSE, volume ID=0
0000688: CD: CCDInfo::GetVolumeInformation: Finish (0 ms)
0000688: Database: MCDB::GetPLDB: Creating object
0000688: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\playlistx.jmd
0000688: Database: MCDB::GetMFDB: Creating object
0000688: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\mediafiles.jmd
0000719: Database: MCDB::GetBSDB: Creating object
0000719: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\browser.jmd
0000719: Database: MCDB::GetVSDB: Creating object
0000719: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\view state (index).jmd
0000719: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\browser.jmd
0000719: Database: MCDB::GetCPLDB: Creating object (0)
0000719: Database: CMediaFileIOLoad::Load: Loading: C:\Documents and Settings\phil\Application Data\J River\Media Center 11\Library\curplaylist.jmd
0000719: Database: MCDB::GetThumbDB: Creating object
0000719: Database: MCDB::Save: Start
0000719: Database: MCDB::Save: Saving (bCleanDB: 0, bForce: 0)
0000719: Database: MCDB::Save: Finish (0 ms)
0010781: General: ExecuteMJFileCommand: Releasing mutex
0010781: General: ExecuteMJFileCommand: Finish (11047 ms)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71702
  • Where did I put my teeth?
Re: Import problem from command line
« Reply #4 on: February 17, 2006, 07:11:40 am »

I'm not using any 3rd party plugins that I can think of.  I installed a couple, but then uninstalled them (Sparta's cover art and lyrics plugins).
Musiclobby?  Netremote?
Logged

OverZealous

  • Guest
Re: Import problem from command line
« Reply #5 on: February 17, 2006, 08:53:47 pm »

No, I just double-checked.  No plugins at all.  I've disabled the UPnP and the TiVo servers, as well as Audible and AudioLunchbox.

It never crashes when MC is already running.  It crashes everytime it isn't.
Logged

pahunt

  • World Citizen
  • ***
  • Posts: 236
Re: Import problem from command line
« Reply #6 on: April 16, 2006, 06:45:22 am »

Was there ever a resolution to this? I am getting exactly the same issue with 11.1.172 with no 3rd party plug-ins installed.

OverZealous

  • Guest
Re: Import problem from command line
« Reply #7 on: April 16, 2006, 09:12:05 am »

No - last I checked it still happened.  I gave up and just began hand-importing new files.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Import problem from command line
« Reply #8 on: April 16, 2006, 08:13:51 pm »

FWIW.  This happens for me as well, using 172.  I have no Third Party plugins installed other than G-Force and WhiteCap (soundspectrum).

Code: [Select]
MC11.exe /SilentImport [dir -or- filename]
This fails using either a filename directly, or a folder to search, with the error described by the others in this thread.  My path searched was:

c:\temp\test.mp3

(So it can't be a filename length thing).  Using /Import (rather than the Silent version) works just fine.

Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71702
  • Where did I put my teeth?
Re: Import problem from command line
« Reply #9 on: April 16, 2006, 09:19:10 pm »

Logged

OverZealous

  • Guest
Re: Import problem from command line
« Reply #10 on: April 16, 2006, 09:40:36 pm »

None of those seem related to the problems I've been having.  The error *only* occurs with the "/SilentImport" command when MC is not already running.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42056
  • Shoes gone again!
Re: Import problem from command line
« Reply #11 on: April 17, 2006, 03:20:27 pm »

Next build:
Fixed: Silent import commands issued when MC wasn't running could cause a crash.
Logged
Matt Ashland, JRiver Media Center

pahunt

  • World Citizen
  • ***
  • Posts: 236
Re: Import problem from command line
« Reply #12 on: April 18, 2006, 06:59:12 am »

Thanks very much  :)
Pages: [1]   Go Up