Plex is designed that any client or server can send play commands to any other client on the local network. The first identifies the queue, and the second identifies the first item to begin playing in the queue. The two elements we need from this are playQueueID and playQueueSelectedMetadataItemID. If your post is successful, you'll get some XML back which contains every item in the queue, but we only care about the top element: It's used to identify where the commands are coming from. The client identifier can be literally any string. You also need to include the following headers: X-Plex-Token:YOUR-TOKEN To play Better Off Ted Season 1, we would use 44179, and to play the episode called "Heroes" we would use 224669. To play all of Better Off Ted, we would use 44178. Uri contains your server identifier and the numeric metadata number of the item you want to play. I can't find any documentation on this parameter. Omitting it doesn't seem to change anything. I don't know what " own" means but every request includes it. Repeat is 1 or 0 to specify whether repeat is enabled.Ĭontinuous means additional videos will play when yours completes. Shuffle can be 1 or 0, depending if you want to play in shuffle mode. Video is the type of media we're playing (can also be, eg, music). &uri=server://YOUR SERVER IDENTIFIER//library/metadata/NUMERIC You should put it all on one line, obviously. We're going to create a play queue by doing an HTTP POST to the following URL, which I've broken up for clarity. You do this by building a play queue on the server, so let's do that. You can play a show, a season, or an episode. So here’s what you need to know: whatever you want to play in Plex, you need the /library/metadata/NUMERIC string. Now we’re done with directories and have moved on to videos: At this point we’re no longer appending bits onto the URL, where instead each Directory or Video element is /library/metadata/A UNIQUE NUMERICAL STRING. You’ll notice that the URL has stopped going deeper. Now you’ll see an additional directory for each season: So our key for Better off Ted is at /library/metadata/44178/children.
![plex media player remote control plex media player remote control](https://i2.wp.com/www.techjunkie.com/wp-content/uploads/2017/05/Screen-Shot-2017-05-04-at-1.29.53-PM.png)
Plex media player remote control tv#
Going back up to the top, let’s go into our library of all shows:Įach TV show is defined in a block like so: So return the 5 most recently aired shows, you would put it all together like this: You need to include the X-Plex-Container-Start parameter even if setting it to zero. You can specify X-Plex-Container-Start=0 and X-Plex-Container-Size=5 on the end of the URL to limit the results. You can append each key onto the URL above to drill further down. So now let’s step into our TV Shows folder: Key is Plex’s term for identifying a section or a piece of media. Look for the string that says key="NUMBER" for the section you want. This endpoint shows each section available on your server. The element we care about for each player is the identifier. You can only control a player on your local network. The big long string after machineIdentifier is your server’s identifier. At the end of the URL you’ll see the string X-Plex-Token=TOKEN-GOES-HERE. Go to your server on the web, and go to the detail screen for any piece of media. The documentation is also really bad about telling you parameters versus headers, and those sometimes change between API endpoints.
Plex media player remote control how to#
This tutorial will tell you how to find an available Plex player on your network and send a piece of media to it using the Plex API and a playqueue.īut it’ll take a bunch of reading through those articles to do the one thing we want to do: pick some media, and play it.
![plex media player remote control plex media player remote control](https://i2.wp.com/www.sunarlim.com/wp-content/uploads/2016/10/Intel-NUC-Plex-Media-Player-v2.jpg)
![plex media player remote control plex media player remote control](https://cdn.wccftech.com/wp-content/uploads/2015/07/71TtGGaedQL._SL1500_.jpg)
Please go to the relevant subreddits and support forums, for example: Build help and build shares posts go in their respective megathreads No referral / affiliate links, personal voting / campaigning / funding, or selling posts
![plex media player remote control plex media player remote control](https://renewseller.weebly.com/uploads/1/2/5/3/125376213/556748708.jpg)
Welcome to /r/Plex, a subreddit dedicated to Plex, the media server/client solution for enjoying your media! Plex Community Discord Rules Latest Regular Threads: No Stupid Q&A: Tool Tuesday: Build Help: Share Your Build: Submit Troubleshooting Post Files not showing up correctly?