INTERACT FORUM

Please login or register.

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

Author Topic: Set Zone core command not working in MC18?  (Read 1183 times)

kkl

  • Recent member
  • *
  • Posts: 14
Set Zone core command not working in MC18?
« on: February 26, 2013, 07:25:59 pm »

According to this Core Commands wiki, 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?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Set Zone core command not working in MC18?
« Reply #1 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"


Logged
Matt Ashland, JRiver Media Center

kkl

  • Recent member
  • *
  • Posts: 14
Re: Set Zone core command not working in MC18?
« Reply #2 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.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Set Zone core command not working in MC18?
« Reply #3 on: February 27, 2013, 01:34:54 am »

That was my fault - I will fix it in the morning.
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Set Zone core command not working in MC18?
« Reply #4 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").
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Set Zone core command not working in MC18?
« Reply #5 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.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up