INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: KENZO on March 18, 2013, 10:17:51 pm

Title: can't get MC18 command line to work for me
Post by: KENZO on March 18, 2013, 10:17:51 pm
Been trying for a couple hours to kick off a rip from the command line but no luck.  Manual ripping from the GUI works fine.

Can anyone tell me what I am doing wrong?  Here is the command line.  If I just type MC18, JRiver GUI starts up.

But if I type "C:\WINDOWS\SYSTEM32\mc18.exe /MCC 23001,0"

Nothing happens.  No dos error message, nothing at all.  The command prompt returns immediately and JRiver does not start up.

Thanks
Ken
Title: Re: can't get MC18 command line to work for me
Post by: MrC on March 18, 2013, 11:05:21 pm
The problem with many MCC commands is that they require UI interaction.  The RIP command opens the Rip Disc section in the Action Window... and there it sits.

Issue the command again, and it will start the ripping process.  I see though that it tries to perform a Movie Rip, not an Audio Rip as per Audio CD that is in the drive.
Title: Re: can't get MC18 command line to work for me
Post by: KENZO on March 19, 2013, 02:14:05 am
Hmm, with JRiver GUI already open, when I execute the command line, it tries to rip a movie! Just like you described. 
Why the heck would it do that?

Is the command line interface not really functional?

From what I can tell, I am copying the command line syntax exactly as in the docs...

ken
Title: Re: can't get MC18 command line to work for me
Post by: glynor on March 19, 2013, 09:01:46 am
Is the command line interface not really functional?

Much of it works beautifully.  That feature might not be fully supported (sounds like it is not).

To be clear, the MCC commands are intentionally designed not to launch MC when it isn't already running (except for those that explicitly are intended to launch MC).  This isn't an issue if you are scripting it, because you can just call MC18.exe by itself first, which will launch MC if it isn't already running (and is ignored if it is).
Title: Re: can't get MC18 command line to work for me
Post by: KENZO on March 19, 2013, 08:19:21 pm
Oh well, I guess that's what I get for buying something before I tested it thoroughly.

Thats  the only reason I bought jriver- to autorip my CD collection...

 

Title: Re: can't get MC18 command line to work for me
Post by: MrC on March 19, 2013, 08:22:09 pm
Do the Auto-rip Options not work for your needs?  (See attached screenshot).
Title: Re: can't get MC18 command line to work for me
Post by: Yummycarp on April 12, 2013, 02:01:27 pm
I had this working for me mc17.exe "/Play TREEPATH=Playlists\Radio\GemRadio|Zone=1 /VolumeSet=40"

but mc18.exe "/Play TREEPATH=Playlists\Radio\GemRadio|Zone=1 /VolumeSet=40"   just starts the app and does not start playing like 17 did.

Does anyone know why this is not working in 18? I have 17 days left on upgrade trial and want to make sure everything works as my 17 setup.

Thanks
Title: Re: can't get MC18 command line to work for me
Post by: MrC on April 12, 2013, 02:06:40 pm
The command line processing changed. I don't think multiple commands per call was ever supported (althought It might have worked).  Use two separate commands:

mc18.exe /Play TREEPATH=Playlists\Radio\GemRadio|Zone=1
mc18.exe /VolumeSet 40
Title: Re: can't get MC18 command line to work for me
Post by: Matt on April 12, 2013, 02:08:46 pm
Also, these quotes are going to make trouble:
mc18.exe "/Play TREEPATH=Playlists\Radio\GemRadio|Zone=1"

Use either:
mc18.exe /Play "TREEPATH=Playlists\Radio\GemRadio|Zone=1"

Or:
mc18.exe "/Play" "TREEPATH=Playlists\Radio\GemRadio|Zone=1"

In other words, the play and the what-to-play need to be separate arguments.
Title: Re: can't get MC18 command line to work for me
Post by: Yummycarp on April 12, 2013, 02:33:07 pm
Thanks guys, I got the correct station playing with mc18.exe /Play "TREEPATH=Playlists\Radio\GemRadio|Zone=1"

but I've tried various attempts at volume control with no success. After I start the app with the above command, I tried...

mc18.exe /VolumeSet 80

mc18.exe /VolumeSet "80"

mc18.exe /VolumeSet "80|Zone=1"

but have yet to alter the volume from the command line.


Title: Re: can't get MC18 command line to work for me
Post by: Matt on April 12, 2013, 02:57:34 pm
I think something may be wrong with /VolumeSet.  I'll get it fixed.

In the meantime, just use this:
mc18.exe /MCWS/v1/Playback/Volume?Level=0.2

Or to target a zone:
mc18.exe "/MCWS/v1/Playback/Volume?Level=0.8&Zone=Stereo&ZoneType=Name"