Is anyone aware if/when/how the HTTP API will allow you to start playing a playlist on a Plex Home Theater client?
Currently I get a <Responsecode="500"status="Could not find that item"/> when I use the playlist key from /playlists however playing a single file works ok.
Having done some digging with Wireshark, I've found that the playlists actually leverage playqueues when playing. The general process looks to be that a playqueue be created with the playlist key via
@jooray, thanks very much for researching this. Your Ruby script works for me up until the last step: actually starting playback on the client (a Roku device). It finds the correct host and the playlist fine. What client are you using with your script?
I’m guessing that casting to Roku works differently. When casting to Roku from the Plex app, the PMS log file shows some sort of “delegation” request that transfers control to the Roku client, which then issues its own playQueues request. Any further insight would be very welcome.
thanks for the examples above however im having some trouble getting these to work
can you confirm where / how you are adding an item to the play queue that you created?
i was able to create the play queue using your curl command above but everytime i do get /playQueue? it lists my newly created play queue but it has an item count of -1