INTERACT FORUM
More => Old Versions => JRiver Media Center 27 for Linux => Topic started by: Mastiff on April 29, 2021, 06:02:19 am
-
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?
-
Playlist type shouldn't be ID if you're passing a name.
-
Thanks for answering, Matt! So I should use path, then? But how do I format that?
-
I think it's just playlist type of path.
-
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
-
This just worked for me:
http://localhost:52199/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=Phillip&PlaylistType=Path
You don't need Playlists\ in front of the name unless you actually have a "Playlists" group.
-
Thank you! That worked, yeah. Removing the Playlists\ did the trick.
-
Btw is there a similar way to put in single tracks, or is it better to create playlists for each of the tracks I want to have on hand for this shortlist?