Skip to content
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

Allow for adding >50 tunes per playlist #13

Open
qzdl opened this issue Aug 31, 2020 · 1 comment
Open

Allow for adding >50 tunes per playlist #13

qzdl opened this issue Aug 31, 2020 · 1 comment

Comments

@qzdl
Copy link
Owner

qzdl commented Aug 31, 2020

This is a simple fix; where the spotify.add_to_playlist call is made, first truncate the id array to n arrays of size 50, then make n calls to the add_to_playlist function.

This is already covered in the Clojure version somewhere

@qzdl qzdl changed the title Allow for >50 tunes per playlist Allow for adding >50 tunes per playlist Aug 31, 2020
@qzdl
Copy link
Owner Author

qzdl commented Aug 31, 2020

The source of this issue is the id limit per request imposed by Spotify's API, by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant