Jump to content

Playlist API Questions/Problems


Go to solution Solved by Luke,

Recommended Posts

Posted

So I can create a playlist using the /Playlists api call adding all the items I need to my playlist. I can get the created playlist and items using the /Playlists/{playlistId}/Items call. I can also add items to my playlist using the /Playlists/{playlistId}/Items call.

I am having problems with the remove play list items and moving playlist items.

For Removing I am using

post: {url}/emby/Playlists/{playlistId}/Items/Delete?EntryIds={comma separated list of ids}&api_key={myApiKey}

I get a 204 response but the items do not get removed from the playlist. Is the EntryIds supposed to be the emby id of the item in the playlist to remove? This is what I am currently doing.

For Move I am using

post: {url}/emby/Playlists/{playlistId}/Items/{ItemId}/Move/{index}?api_key={myApiKey}

Again I get a 204 but nothing gets moved in my playlist.

 

Thanks for any help

  • Solution
Posted
Quote

I get a 204 response but the items do not get removed from the playlist. Is the EntryIds supposed to be the emby id of the item in the playlist to remove? This is what I am currently doing.

Hi, no it is the PlaylistItemId value that comes attached to each playlist item.

Posted

@LukeThank you that was it! Not sure how I missed that id in there.

Thanks again

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...