Shpigford / plylst

Smart playlists for Spotify! Stop relying on fancy pants algorithms to organize your library and instead build playlists the way you want.
https://plylst.app
MIT License
331 stars 52 forks source link

Sync removed Saved Tracks #19

Closed Shpigford closed 5 years ago

Shpigford commented 5 years ago

If you remove a Saved Track, PLYLST currently doesn't have a way to know that.

First thought on how to handle this is to hit the /tracks/contain endpoint with an array of song IDs (max is 50), and see if they're still in there.

If not, set the "follow" record's active column to false.

https://developer.spotify.com/documentation/web-api/reference/library/check-users-saved-tracks/

Could be run daily (or as often as the Spotify rate limits allow).

Shpigford commented 5 years ago

Rolled out.