INTERACT FORUM

Please login or register.

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

Author Topic: Newbie Question: How are Core Commands Added to Server address in Gizmo?  (Read 2168 times)

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 91

 Hi,
The help needed is how would the zone information be added to the hyperlink below? In other words parenthesis , colons, forward slash etc. I found the information for all my zones but don't know how to enter it.
Any input on this would be greatly appreciated.
 
http://<server IP>:52199/MCWS/v1/Playback/Zones

Thanks,

Michael G
Logged

Arindelle

  • Citizen of the Universe
  • *****
  • Posts: 2772

ha thats not a noob question --  ;D


Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8972

Lifted from my MCWS notes in my MC "Notes" section...

Switch To Audio Zone:
"/MCWS/v1/Playback/SetZone?Zone=Player&ZoneType=Name"

Switch To Video Zone:
"/MCWS/v1/Playback/SetZone?Zone=Video&ZoneType=Name"

might get you on the right track.

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 91

When I entered the it way you suggested,Theater was no longer shown as playing now at the top of the screen but was playing from Theater with Playing from Main Library on the side highlighted. I think it deselected Theater but didn’t replace with Master zone. Any suggestions?
Here is what I entered:
http://(Server IP):52199/MCWS/v1/Playback/SetZone?Zone=Player&ZoneType=Master

Here is the reply I got from the Media Server

<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<Response Status="OK"/>
Logged

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8972

I'm not very good with this stuff, but will persevere here in the hope someone with stronger MCWS knowledge joins in, your help here might not be top line, but I can share what I know, that might help you...

There's a help document with the server, apologies if you already knew this...
http://(Server IP):52199/MCWS/v1/doc

In here...
http://(Server IP):52199/MCWS/v1/Playback/SetZone?Zone=Player&ZoneType=Master

I think that if "Player" is the zone name, then the zone type needs to be "Name" not "Master...
http://(Server IP):52199/MCWS/v1/Playback/SetZone?Zone=Player&ZoneType=Name

Which should set the active zone from whichever it is, to "Player"


mgreg123

  • Junior Woodchuck
  • **
  • Posts: 91

Marco,

Thanks for getting back to me. I'm pulling my hair out, I know missing something very simple. I've tried every variation of Player, Audio & Master and they bring me back to Playing from Main Library. Any other suggestions would greatly appreciated.

Thanks,

Michael G
Logged
Pages: [1]   Go Up