More > JRiver Media Center 27 for Linux
How do I start playback of library items from MCWS?
Mastiff:
I have found the function to play playlists, here to my boat Mad Max which has the address 192.168.2.101 when it's docked:
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&PlaylistType=ID
But from there to actually play the playlist wasn't as easy as I thought. My best guess was this:
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Playlist=BoatMusic&Zone=-1&ZoneType=ID&PlaylistType=ID
Or this:
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=BoatMusic&PlaylistType=ID
But none of them will play the playlist BoatMusic. The response is "OK" in the browser, but nothing happens in Media Center. Can somebody please let me know what I should do? Also, what shold I do if there is a space in the name of the playlist?
Matt:
Playlist type shouldn't be ID if you're passing a name.
Mastiff:
Thanks for answering, Matt! So I should use path, then? But how do I format that?
Matt:
I think it's just playlist type of path.
Mastiff:
Still only "OK" and no playback, I'm afraid in both these:
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=Playlists\BoatMusic&PlaylistType=Path
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Playlist=Playlists\BoatMusic&Zone=-1&ZoneType=ID&PlaylistType=ID
Navigation
[0] Message Index
[#] Next page
Go to full version