spotify
spotify copied to clipboard
GetPlaylistsForUser now returns empty SimplePlaylist objects for any playlists owned by Spotify.
Today, Spotify made a change to their API that removed access to the following via the Web API:
- Related Artists
- Recommendations
- Audio Features
- Audio Analysis
- Get Featured Playlists
- Get Category's Playlists
- 30-second preview URLs, in multi-get responses (SimpleTrack object)
- Algorithmic and Spotify-owned editorial playlists
https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api
In addition to likely breaking GetRelatedArtists, GetRecommendations, GetAudioAnalysis, GetAudioFeatures, FeaturedPlaylists, and GetCategoryPlaylists, now GetPlaylistsForUser returns an uninitizalized SimplePlaylist object (not null, but an empty object) for any playlist in SimplePlaylistPage.Playlists owned by Spotify because the Spotify Web API now returns null in the array for those playlists in the API call. Also, the SimplePlaylistPage.Total field now lies because the value reported by the API includes the nulls it returns in the count.