-
Notifications
You must be signed in to change notification settings - Fork 954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to delete playlists using spotipy #1106
Comments
I figured out that you must input a playlist ID rather than a URL From the docs:
Should this method only accept an IDs and not URLS? |
Yep, I know about this already. This part of the docs is somewhat misleading because normally spotipy converts URLs automatically (with |
Oh, sorry, I just realised I didn't read your question properly. Deleting playlists is not directly possible. This may sound silly (because it is imo), but Spotify believes that if you decide to delete your playlist, but there are some followers who like it, then the playlist won't actually be deleted, it will just be removed from your library. You can try this yourself by creating a playlist, copying the link, deleting the playlist and then trying to access the playlist via the link. You will then have your playlist back. I don't really know if the playlists will deleted at some point. If you go to the recover playlists, Spotify states that they will remove the playlist from the list after 90 days, but I can't confirm nor deny if this would delete the playlist for good. So to answer your question: ChatGPT gave you the right answer. But for some reason, there's no URI validation, so just make sure that you're using |
Which method should I use to delete a playlist that I own? I didn't see any methods in the documentation that directly delete a playlist (though I could have just missed it) and ChatGPT told me to use current_user_unfollow_playlist, but I get an error whenever I use it:
Am I using the wrong method or am I using the method incorrectly?
The text was updated successfully, but these errors were encountered: