INTERACT FORUM
More => Old Versions => JRiver Media Center 31 for Windows => Topic started by: landolfi on January 24, 2024, 01:58:51 pm
-
Hi,
I'm trying to run the following REST command to run a playlist:
http://192.xxx.x.xxx:52199/MCWS/v1/Playback/PlayPlaylist?Playlist:4365624&Zone=Denon&ZoneType=Name
HTTP response to the request is OK but it doesn't actually play anything. Other REST commands work fine.
The API doc says Playlist ID is the default type so the PlaylistType parameter is optional, but I can't get the command to work with or without that parameter.
The doc has this example but it doesn't show any example of an actual playlist ID and this example doesn't do anything:
http://192.xxx.x.xxx:52199/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&PlaylistType=ID
The playlistID I am using is the one shown next to the playlist creation date when viewing it (as in the attachment). Any suggestions?
-
I don't understand the colon in your example.
I just tried this and it worked fine:
http://localhost:52199/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&PlaylistType=ID&Playlist=811016816
-
Thanks, that was it. The doc said "Playlist: The ID of the playlist to play or the path. (default: )" and I thought that meant "Playlist:" was how you specify the ID.
I don't see anything in the PlayPlaylist doc on how to set Shuffle mode. I tried adding &Shuffle=1 but that didn't work. Is it possible to play the playlist shuffled?
EDIT: Answered my own question: Yes, you can, but the "&Shuffle=1" must immediately follow the Playlist=xxxxxxx