INTERACT FORUM

Please login or register.

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

Author Topic: Correct entry of MCWS codes for Web Gizmo?  (Read 1705 times)

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 92
Correct entry of MCWS codes for Web Gizmo?
« on: March 16, 2015, 09:44:14 am »

Hi,
How to correctly enter the MCWS codes to specify which zone to play to after the link below? Below is what I entered that didn’t work.

michael:password@192.168.1.39:52199/MCWS/v1/Playback/SetZone?Zone="ZoneName0">Theater</Item> "ZoneID0">10000</Item> "ZoneGUID0">{00B6C5FC-76E0-44C1-B6BE-0E175F741643}</Item>

Michael G
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Correct entry of MCWS codes for Web Gizmo?
« Reply #1 on: March 16, 2015, 10:56:43 am »

Hi,
How to correctly enter the MCWS codes to specify which zone to play to after the link below? Below is what I entered that didn’t work.

michael:password@192.168.1.39:52199/MCWS/v1/Playback/SetZone?Zone="ZoneName0">Theater</Item> "ZoneID0">10000</Item> "ZoneGUID0">{00B6C5FC-76E0-44C1-B6BE-0E175F741643}</Item>

Michael G


To lookup a zone by name, you need:
ZoneType=Name&Zone=The name of the zone

Your example URL is really messy with a bunch of XML in it.  I don't know if that's a copy / paste issue or if you're really sending the XML?  You don't want to send XML.
Logged
Matt Ashland, JRiver Media Center

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 92
Re: Correct entry of MCWS codes for Web Gizmo?
« Reply #2 on: March 16, 2015, 11:59:27 am »

Matt,

Thanks for the quick response. I think was copy and paste issue I was trying show what I entered. So my entry should be like this:
michael:password@192.168.1.39:52199/MCWS/v1/Playback/SetZone?Zone=Theater&0  Is that correct?

Michael G
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42387
  • Shoes gone again!
Re: Correct entry of MCWS codes for Web Gizmo?
« Reply #3 on: March 16, 2015, 02:28:19 pm »

Matt,

Thanks for the quick response. I think was copy and paste issue I was trying show what I entered. So my entry should be like this:
michael:password@192.168.1.39:52199/MCWS/v1/Playback/SetZone?Zone=Theater&0  Is that correct?

Michael G

Since you've got a zone name, you need to tell MCWS that.  Put a ZoneType=Name on the URL as well.
Logged
Matt Ashland, JRiver Media Center

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 92
Re: Correct entry of MCWS codes for Web Gizmo?
« Reply #4 on: March 16, 2015, 04:11:21 pm »

Hi,
Does the log in need to be entered before the command? If Theater = Zone 0 would that be entered after SetZone?

Michael
Logged
Pages: [1]   Go Up