INTERACT FORUM

Please login or register.

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

Author Topic: How to switch zones with command lines?  (Read 1889 times)

gappie

  • Guest
How to switch zones with command lines?
« on: April 20, 2006, 09:26:11 am »

or even more specific.
when i want to open theater view in a specific zone, what should i use as a command. i know the mcc 22001,2 for theater view. but then im stuck. the 'parameters >= 0: zone number + parameter' from the mcccommand page did not do the trick. or i understood it wrong.

thanks
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: How to switch zones with command lines?
« Reply #1 on: April 20, 2006, 09:51:05 am »

Use 10011:
MCC_SET_ZONE  // [int nZoneIndex (-1 toggles forward, -2 toggles backwards)]

So,
MC11.exe /MCC 10011,1

Remember that zones start counting at zero.
Logged
Matt Ashland, JRiver Media Center

gappie

  • Guest
Re: How to switch zones with command lines?
« Reply #2 on: April 20, 2006, 10:03:50 am »

Thanks a lot. that works.
 :)
Logged

gappie

  • Guest
Re: How to switch zones with command lines?
« Reply #3 on: April 23, 2006, 08:39:12 am »

so when i understand it right. according to the mcc commands list i should use
mc11.exe /mcc 31001
for
MCC_IMAGE_ROTATE_LEFT
but that does not work. so  :-\
guess i dont understand it right.

and i was lookin also for a mcc command to zoom in and out. could not find that in the list.

thanks a lot
Logged

gappie

  • Guest
Re: How to switch zones with command lines?
« Reply #4 on: April 25, 2006, 10:35:51 am »

so i guess it is a bug.
/mcc 31000 works
then 31001 and 2 and 3 dont
31004 and 5 do.


Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: How to switch zones with command lines?
« Reply #5 on: April 25, 2006, 11:53:11 am »

Not all commands will be usable from the command line.  Some commands are internal.

MCC command routing is recommended for playback control.  For more advanced things, it's uncharted territory.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: How to switch zones with command lines?
« Reply #6 on: April 25, 2006, 01:14:21 pm »

Not sure what you're up to gappie, but if you're setting up using Girder (or something similar) you will have much better performance if you use Windows Messages (via the SendMessage plugin) to control MC rather than calling MC11.exe.  Each time you call MC11.exe there is a delay while Windows "starts up" the small "calling" application.  Using SendMessage doesn't incur the same penalty.

I have found some cases where it is difficult to get MC to respond to Windows Messages reliably (in Theater View for example), and for those I call MC11.exe.  Otherwise, you'll probably be best served by going the Windows Message route.  Also, you have the benefit of many more of the commands working as promised!
Logged
"Some cultures are defined by their relationship to cheese."

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

gappie

  • Guest
Re: How to switch zones with command lines?
« Reply #7 on: April 25, 2006, 06:12:13 pm »

i want to rotate an image in theaterview. will check the windows message route. i used that to programm grider to control the volume on my rme soundcard in 40 steps. not very elegant. but worked. for zooming into an image the keyboard emulation is doin fine. if i find how to rotate an image ill report back for if somebody wants to know.
Logged
Pages: [1]   Go Up