nachowski / PlayInReverse

Sort a Spotify playlist in reverse order
MIT License
3 stars 4 forks source link

Max tracks in playlist is 100 #2

Open muldermatthijs opened 8 years ago

muldermatthijs commented 8 years ago

Is it possible to reverse a playlist with more then 100 track? In example I got a playlist with 2000 songs.

wouterlamers commented 8 years ago

Looking a bit through the code it does not seem a hardcoded limit.

Looking at the API calls to spotify: https://developer.spotify.com/web-api/get-playlists-tracks/ the limit for a single call is 100 tracks. This might be fixed using a loop and the offset or maybe the reorder call. My experience with JS is quite limited however so i am not sure i could manage myself.

FitzgeraldKrudde commented 6 years ago

This https://github.com/FitzgeraldKrudde/spotify-reverse-playlist might be an alternative. The limit of 100 is no problem.