INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: kkl on February 26, 2013, 07:25:59 pm

Title: Set Zone core command not working in MC18?
Post by: kkl on February 26, 2013, 07:25:59 pm
According to this Core Commands wiki (http://wiki.jriver.com/index.php/Media_Center_Core_Commands), I should be able to change zones using the 10011 MCC_SET_ZONE command:

MC18.EXE /MCC 10011, n

I have only two zones, Family Rm and Theater.  No matter what integer I use, the zone is set only to Family Rm.  So, 0, 1, 2,...10, all set the zone to Family Rm.   Same thing happens with the -1 or -2 options.  I added a 3rd zone just for testing.  Same behavior, only result is Family Rm.

Is this a bug?
Title: Re: Set Zone core command not working in MC18?
Post by: Matt on February 26, 2013, 07:41:11 pm
Remove the space after the comma:
MC18.exe /MCC 10011,-1

Or put the parameter in quotes:
MC18.exe /MCC "10011, -1"


Title: Re: Set Zone core command not working in MC18?
Post by: kkl on February 26, 2013, 11:07:57 pm
Thanks very much for the quick response.  That was the trick.

The documentation definitely has a space:

"MC<version>.exe /MCC <command number>, <parameter>"
"MC16.exe /MCC 10000, 0"

So, I'd suggest it be corrected.
Title: Re: Set Zone core command not working in MC18?
Post by: MrC on February 27, 2013, 01:34:54 am
That was my fault - I will fix it in the morning.
Title: Re: Set Zone core command not working in MC18?
Post by: Matt on February 27, 2013, 03:30:51 pm
I don't see any reason to be so picky.  It was just an unintended consequence of the revised command line parser.

In the next build:
Changed: MC18.exe /MCC allows a space after the comma (ie. "MC18.exe /MCC 10011, -1").
Title: Re: Set Zone core command not working in MC18?
Post by: MrC on February 27, 2013, 04:31:21 pm
I thought it used to work that way, but when the OP reported the problem, I starting thinking Twilight Zone.