INTERACT FORUM

Please login or register.

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

Author Topic: can't get MC18 command line to work for me  (Read 2246 times)

KENZO

  • Recent member
  • *
  • Posts: 25
can't get MC18 command line to work for me
« 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
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: can't get MC18 command line to work for me
« Reply #1 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.
Logged
The opinions I express represent my own folly.

KENZO

  • Recent member
  • *
  • Posts: 25
Re: can't get MC18 command line to work for me
« Reply #2 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
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: can't get MC18 command line to work for me
« Reply #3 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).
Logged
"Some cultures are defined by their relationship to cheese."

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

KENZO

  • Recent member
  • *
  • Posts: 25
Re: can't get MC18 command line to work for me
« Reply #4 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...

 

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: can't get MC18 command line to work for me
« Reply #5 on: March 19, 2013, 08:22:09 pm »

Do the Auto-rip Options not work for your needs?  (See attached screenshot).
Logged
The opinions I express represent my own folly.

Yummycarp

  • Recent member
  • *
  • Posts: 35
Re: can't get MC18 command line to work for me
« Reply #6 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
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: can't get MC18 command line to work for me
« Reply #7 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
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: can't get MC18 command line to work for me
« Reply #8 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.
Logged
Matt Ashland, JRiver Media Center

Yummycarp

  • Recent member
  • *
  • Posts: 35
Re: can't get MC18 command line to work for me
« Reply #9 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.


Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: can't get MC18 command line to work for me
« Reply #10 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"
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up