jensenkd / plex-api

.NET Core SDK for Plex Media Server
MIT License
86 stars 27 forks source link

Can't add specific track to playlist? #102

Closed Tailslide closed 1 year ago

Tailslide commented 1 year ago

Describe the bug Looking at the API I don't think it's possible to add a specific track to the playlist

For Example when I go into the plex web UI and manually add a track to the playlist I see something like this:

PUT https://myserver:myport/playlists/958874/items?uri=server://myserverid/com.plexapp.plugins.library/library/metadata/917742

If I run this same PUT through powershell it add that specific track to the playlist. I don't think the API supports this currently or if it does, a repo search of AddPlaylistItems() fails to turn up anything that looks like it can.

Tailslide commented 1 year ago

Must be tired.. works fine. Here is an example:

await MyServer.AddPlaylistItems(surroundList, new List() { "917746" });