Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Behaviour of "Unfollow Playlist" with respect to playlist limit

Behaviour of "Unfollow Playlist" with respect to playlist limit

Hi all!

 

I'm currently working on an app that essentially wants to wipe the contents of a playlist, re-write it with a new set of tracks, and then trigger playout.

 

I'm using the Web API and my original plan was:

1. Remove all the songs via the "remove-tracks" endpoint

2. add the new tracks via the "add-tracks" endpoint

3. Trigger playing of the new playlist via the "start-playback" api

 

But when I trigger the play event it will generally not use an up-to-date version of the playlist, and I think this is because the start-playback api doesn't allow for a snapshot ID

 

 

So the alternative solution I had was:

1. Delete the existing playlist

2. Create a new playlist

3. Add the new items to the playlist

4. Trigger playout

 

 

Now of course, there is no "delete playlist" api, so I followed the docs here which essentially say that there's no notion of deleting playlists within the Spotify system and that I should be using the unfollow endpoint instead.

 

This proposed solution does seem to work, but I have two main concerns with this approach:

1. Will other people still be able to search for and find the old versions of the playlists?

2. The "create-playlist" api docs say that users are limited to ~11000 playlists. Does each created playlist count towards this number, or does the act of unfollowing remove it from your playlist count?

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random