I writing a personal use tool to keep my iTunes and Plex playlists in sync using the Plex API.
I’ve been through the various lists of Plex API endpoints that are mentioned in the forums but I can’t find any that list the endpoints for:
add track to playlist
remove track to playlist
Could someone please point me in the right direction?
A Swagger page would be perfect but even just a complete list of endpoints, as the lists I’ve found so far all seem to be incomplete.
(Also I couldn’t tag this “API”…)
dane22
February 9, 2020, 9:57am
2
Use the Chrome Luke
Browse towards your server using Chrome Browser, and switch it into debug mode (Press F12).
Then on the network tab, you can see the requests taking place, when you create a playlist
Like a post looking like:
https://IP_OF_MY_PMS:32400/playlists?uri=server%3A%2F%2Ffac6d1f34ZZZ2d06XXX026a2ffbbYYYc25cabde9%2Fcom.plexapp.plugins.library%2Flibrary%2Fmetadata%2F1109%2C1200&includeExternalMedia=1&title=Come%20Together%20and%20Let%20It%20Be&smart=0&type=audio&X-Plex-Product=Plex%20Web&X-Plex-Version=4.12.3&X-Plex-Client-Identifier=3oqnywstl4gyupfnsd8vrh98&X-Plex-Platform=Chrome&X-Plex-Platform-Version=80.0&X-Plex-Sync-Version=2&X-Plex-Features=external-media%2Cindirect-media&X-Plex-Model=bundled&X-Plex-Device=Linux&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=1920x949%2C1920x1080&X-Plex-Token=MY_TOKEN&X-Plex-Language=en&X-Plex-Text-Format=plain&X-Plex-Provider-Version=1.3
In above, I added Come Together with a key of 1109 and Let It Be with a key of 1200 to a brand new playlist named Come Together and Let It Be for the server with the Id of fac6d1f34ZZZ2d06XXX026a2ffbbYYYc25cabde9
1 Like
dane22
February 9, 2020, 8:13pm
3
And adding to self…
To find your server ID, browse towards: http://<IP_OF_PMS>:32400/identity
system
Closed
May 9, 2020, 8:13pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.