INTERACT FORUM

Please login or register.

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

Author Topic: MCC Commands - not working or have they changed ?  (Read 3420 times)

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
MCC Commands - not working or have they changed ?
« on: June 12, 2016, 10:41:59 am »

10052   MCC_SET_SUBTITLES   int nIndex (-1 toggles forward, -2 toggles backwards)
10053   MCC_SET_AUDIO_STREAM   int nIndex (-1 toggles forward, -2 toggles backwards)
10054   MCC_SET_VIDEO_STREAM   int nIndex (-1 toggles forward, -2 toggles backwards)
28032   MCC_PLAYBACK_ENGINE_SET_SUBTITLES   int nIndex (-1 toggles forward, -2 toggles backwards)
28033   MCC_PLAYBACK_ENGINE_SET_AUDIO_STREAM   int nIndex (-1 toggles forward, -2 toggles backwards)
28034   MCC_PLAYBACK_ENGINE_SET_VIDEO_STREAM   int nIndex (-1 toggles forward, -2 toggles backwards)

These commands bring the menu OSD up (when sending through MCWS) but toggling doesn't work, should the parameter not toggle through subtitles or audio or video streams?
ie sending the commands severaltimes toggles through available subtitles for example? In some cases it changes the audio track but any following command is ignored.

Actually controlling over MCC (ie for ex. mc21.exe /MCC 10053,-1) correctly toggles available audio tracks and overall : MCC work BUT the same over MCWS http://localhost:52199/MCWS/v1/Control/MCC?Command=10053,-1 will work only once.

So it looks like passing MCC commands over MCWS seem broken.
Logged

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: MCC Commands - not working or have they changed ?
« Reply #1 on: June 15, 2016, 05:55:23 pm »

further two MCC Commands are also not working for me :

28020   MCC_PLAYBACK_ENGINE_OSD_VIDEO_PROC_AMP
10051   MCC_SHOW_ON_SCREEN_DISPLAY
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: MCC Commands - not working or have they changed ?
« Reply #2 on: June 15, 2016, 07:05:40 pm »

I just tried:
MC21.exe /MCC 10053,-1

And it switched the audio language fine.
Logged
Matt Ashland, JRiver Media Center

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: MCC Commands - not working or have they changed ?
« Reply #3 on: June 16, 2016, 12:31:55 am »

Please do the same with  //localhost:52199/MCWS/v1/Control/MCC?Command=10053,-1.
submit it twice or three time to toggle...it stops working after the first time.


see my first post : 10053 works if i type MC21.exe /MCC 10053,-1 but not if i use it through MCWS: //localhost:52199/MCWS/v1/Control/MCC?Command=10053,-1
the same is true for 10052-10054 or 28032-28034

MCC 28020 and 10051 even don't work if entered MC21.exe /MCC XXXXX



Logged

masterjoe

  • World Citizen
  • ***
  • Posts: 235
Re: MCC Commands - not working or have they changed ?
« Reply #4 on: June 16, 2016, 06:42:42 am »

And please also regard provided zone params whereever possbile when it comes to MCC commands invoked via MCWS.

So when an "enter" key is received (command 27000, parameter 13) and it implicitly leads to a "PLAY" inside the playback engine then the provided zone params shall be used for this derived play command. Only when no zone params are specified the target zone for the derived command shall be the current zone.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: MCC Commands - not working or have they changed ?
« Reply #5 on: June 16, 2016, 07:07:10 am »

Please do the same with  //localhost:52199/MCWS/v1/Control/MCC?Command=10053,-1.
submit it twice or three time to toggle...it stops working after the first time.

That's not the right syntax.

This is:
http://localhost:52199/MCWS/v1/Control/MCC?Command=10053&Parameter=-1

And that works just fine for me.
Logged
Matt Ashland, JRiver Media Center

eddyshere

  • Galactic Citizen
  • ****
  • Posts: 469
Re: MCC Commands - not working or have they changed ?
« Reply #6 on: June 16, 2016, 10:01:41 am »

 :D :D AAAHHH

Sorry for wasting your time I didn't come on the idea that the syntax might be wrong as even with the wrong syntax it worked .....once...

THANKS
Logged
Pages: [1]   Go Up