Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
http://saturn:32400/web/index.html#!/server/1d289f50f716872fa0043edb52d4854027289ef1/details/%2Flibrary%2Fmetadata%2F21905
https://plex.tv/pms/system/library/sections
7a9403ed2084a69936ee1c6c6e6b905642420c2e
http://[PMS_IP_Address]:32400/library/sections?X-Plex-Token=YourTokenGoesHere
http://saturn.hq.thebikeshed.io:32400/sections?X-Plex-Token=${X_PLEX_TOKEN}
curl -X GET http://saturn.hq.thebikeshed.io:32400/library/sections?X-Plex-Token=${X_PLEX_TOKEN}
curl -X GET 'http://saturn.hq.thebikeshed.io:32400/library/sections/4/refresh?X-Plex-Token=${X_PLEX_TOKEN}&force=1'
curl -X GET http://saturn.hq.thebikeshed.io:32400/library/sections/4/all?X-Plex-Token=${X_PLEX_TOKEN}
curl -X GET http://saturn.hq.thebikeshed.io:32400/library/metadata/17514?X-Plex-Token=${X_PLEX_TOKEN}
https://docs.google.com/document/d/19bTQr99oKn2pOpHcVtqidokbq9zup-K-mFy8JmII6uQ/edit
https://code.google.com/archive/p/plex-api/wikis
https://github.com/Arcanemagus/plex-api/wiki
rasplex: 10.255.0.134
curl -X GET http://saturn.hq.thebikeshed.io:32400/status/sessions?X-Plex-Token=${X_PLEX_TOKEN}
...
<Player address="10.255.0.134" device="RaspberryPi" machineIdentifier="110face7-deca-4283-b403-980c7756a07d" model="Linux" platform="Plex Home Theater" platformVersion="" product="Plex Home Theater" state="playing" title="RasPlex" vendor="" version="1.0.1" />
...
curl 'http://10.255.0.134:3005/player/playback/pause'
# http://10.255.0.134:32400/player/playback/playMedia?key=%2Flibrary%2Fmetadata%2F&offset=0&X-Plex-Client-Identifier=&machineIdentifier=&address=&port=&protocol=http&path=http%3A%2F%2F%3A%2Flibrary%2Fmetadata%2F
curl http://saturn.hq.thebikeshed.io:32400/player/playback/pause&X-Plex-Client-Identifier=${X_PLEX_TOKEN}&machineIdentifier=110face7-deca-4283-b403-980c7756a07d&address=10.255.0.134&protocol=http
curl 'http://10.255.0.134:3005/player/playback/playMedia?&key=%2Flibrary%2Fmetadata%2F17514&offset=0&X-Plex-Client-Identifier=110face7-deca-4283-b403-980c7756a07d&machineIdentifier=1d289f50f716872fa0043edb52d4854027289ef1&address=10.255.12.54&port=32400&protocol=http&path=http%3A%2F%2F12.255.12.54%3A32400%2Flibrary%2Fmetadata%2F17514'
http://<CLIENT IP>:<CLIENT PORT>/player/playback/playMedia?key=%2Flibrary%2Fmetadata%2F<MEDIA ID>&offset=0&X-Plex-Client-Identifier=<CLIENT ID>&machineIdentifier=<SERVER ID>&address=<SERVER IP>&port=<SERVER PORT>&protocol=http&path=http%3A%2F%2F<SERVER IP>%3A<SERVER PORT>%2Flibrary%2Fmetadata%2F<MEDIA ID>
https://github.com/plexinc/plex-media-player/wiki/Remote-control-API
curl 'http://10.255.0.134:3005/player/playback/playMedia?&key=%2Flibrary%2Fmetadata%2F17514&offset=8100000&X-Plex-Client-Identifier=110face7-deca-4283-b403-980c7756a07d&machineIdentifier=1d289f50f716872fa0043edb52d4854027289ef1&address=10.255.12.54&port=32400&protocol=http&path=http%3A%2F%2F12.255.12.54%3A32400%2Flibrary%2Fmetadata%2F17514'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.