INTERACT FORUM

Please login or register.

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

Author Topic: How to correctly enter MCWS codes?  (Read 2889 times)

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 91
How to correctly enter MCWS codes?
« on: May 24, 2015, 10:32:45 am »


I have tried several different combinations to make the MCWS command below change zones work with no luck.  Could anyone show me what to enter into the command to make it select Deck zone? My zone information is below the MCWS command. Also how it’s entered. This would be a huge favor if someone could help me with this.

http://(Server IP):52199/MCWS/v1/Playback/SetZone?Zone=

Default Zone-Theater
<Item Name="NumberZones">4</Item>
<Item Name="CurrentZoneID">10000</Item>
<Item Name="CurrentZoneIndex">1</Item>
<Item Name="ZoneName0">Theater</Item>
<Item Name="ZoneGUID0">{00B6C5FC-76E0-44C1-B6BE-0E175F741643}</Item>


Zone to change –Deck below
<Item Name="ZoneName1">Deck</Item>
<Item Name="ZoneID1">10001</Item>
<Item Name="ZoneGUID1">{83A509E4-DD7B-49AF-8D4F-B9F313B1230E}</Item>

Sincerely,

Michael G

Logged

horse

  • Regular Member
  • World Citizen
  • ***
  • Posts: 212
Re: How to correctly enter MCWS codes?
« Reply #1 on: May 24, 2015, 02:37:12 pm »

http://(server IP):52199/MCWS/v1/Playback/SetZone?Zone=Deck&ZoneType=Name

Does that work?
Logged

mgreg123

  • Junior Woodchuck
  • **
  • Posts: 91
Re: How to correctly enter MCWS codes?
« Reply #2 on: May 25, 2015, 08:42:51 am »

Thank You , That worked perfectly when I tried it on the Media Center and also Web Gizmo with one exception.  When, I entered into the Tablet URL it changed the zone but had no Gizmo display. The error shown below:

The XML does not appear to have any style information associated with it.  The document tree is shown below. <Response Status="OK"/>

Any suggestions on including that command with the Gizmo display?

Thanks,

Michael G
Logged

horse

  • Regular Member
  • World Citizen
  • ***
  • Posts: 212
Re: How to correctly enter MCWS codes?
« Reply #3 on: May 25, 2015, 01:39:41 pm »

Michael, not sure. My guess is Gizmo is looking for more than a 200 OK in response to the HTTP Post. I use these commands "silently" in Roomie Remote and don't need or see the response. Effectively I issue them blindly :-) I unfortunately don't use Gizmo so will be not much help I'm afraid.

Logged

mikemelga

  • Recent member
  • *
  • Posts: 5
Re: How to correctly enter MCWS codes?
« Reply #4 on: July 01, 2015, 11:14:38 am »

Hi.

I am very new to JRiver.
Sorry to hijack this post but I'm still a little confused about the web control  ?

I can play/pause, stop, manage zones, etc... but I am having trouble in something as simple as load a playlist.

How can I load a simple playlist (either from the library or from file) to a zone?

Thanks.

Regards,
Mike
Logged

mikemelga

  • Recent member
  • *
  • Posts: 5
Re: How to correctly enter MCWS codes?
« Reply #5 on: July 02, 2015, 09:32:21 am »

Never mind. Got it :)
Logged

mjcrhbsh01

  • Recent member
  • *
  • Posts: 30
Re: How to correctly enter MCWS codes?
« Reply #6 on: July 06, 2015, 07:30:24 am »

Never mind. Got it :)

Can you please share how to do it? Thanks.
Logged

horse

  • Regular Member
  • World Citizen
  • ***
  • Posts: 212
Re: How to correctly enter MCWS codes?
« Reply #7 on: July 06, 2015, 04:13:59 pm »

http://<server address>:52199/MCWS/V1/Playlist/Files?Action=Play&Playlist=<Playlist path and Name>&PlaylistType=Path&Shuffle=0&Zone=<zone name>&ZoneType=Name

example

http://192.168.1.10:52199/MCWS/V1/Files?Action=Play&Playlist=Activities%5CSleep&PlaylistType=Path&Shuffle=0&Zone=Bedroom&ZoneType=Name

This assume default web port, you use Zone names and the playlist is unshuffled. To enable shuffled playback set Shuffle=1

The path to the playlist is based on the playlist navigation tree.

Variable in the request are in bold italics. Hopefully I didn't make any syntax mistakes as this was freehand created

HTH
Logged
Pages: [1]   Go Up