INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: OverZealous on February 17, 2006, 06:41:38 am

Title: Import problem from command line
Post by: OverZealous 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
Title: Re: Import problem from command line
Post by: JimH 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.
Title: Re: Import problem from command line
Post by: OverZealous 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).
Title: Re: Import problem from command line
Post by: OverZealous 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)
Title: Re: Import problem from command line
Post by: JimH 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?
Title: Re: Import problem from command line
Post by: OverZealous 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.
Title: Re: Import problem from command line
Post by: pahunt 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.
Title: Re: Import problem from command line
Post by: OverZealous 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.
Title: Re: Import problem from command line
Post by: glynor 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.

Title: Re: Import problem from command line
Post by: JimH on April 16, 2006, 09:19:10 pm
Please take a look at import problems here:
http://yabb.jriver.com/interact/index.php?board=3;action=display;threadid=24031;start=0
Title: Re: Import problem from command line
Post by: OverZealous 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.
Title: Re: Import problem from command line
Post by: Matt on April 17, 2006, 03:20:27 pm
Next build:
Fixed: Silent import commands issued when MC wasn't running could cause a crash.
Title: Re: Import problem from command line
Post by: pahunt on April 18, 2006, 06:59:12 am
Thanks very much  :)