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

Playlist length #115

Open
Zazama opened this issue Sep 2, 2015 · 0 comments
Open

Playlist length #115

Zazama opened this issue Sep 2, 2015 · 0 comments

Comments

@Zazama
Copy link

Zazama commented Sep 2, 2015

Hello,
I have a problem with the length of the playlist prototype.
In the spotify.js file it says:

* Gets the metadata from a Spotify "playlist" URI.
[...]
@param {Number} length (optional) number of tracks to get. defaults to 100.

But what if I want to get the complete playlist, without knowing how big it is? Is there a way to get the playlist length?

Edit: If I enter -1, I get all songs of the playlist (more than 100), but now the get prototype isn't working anymore, if the array is bigger than 100.

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