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

Why not all of my playlists are visible? #244

Open
depesz opened this issue Jan 26, 2022 · 3 comments
Open

Why not all of my playlists are visible? #244

depesz opened this issue Jan 26, 2022 · 3 comments

Comments

@depesz
Copy link

depesz commented Jan 26, 2022

This is mostly question, but bug. But - registered API key, wrote sample script, and for some reason, even with paging, I just get some (60) of my playlists. Some, not necessarily newest, or oldest (I think) are missing.

Not sure how to check it differently, but I seem to recall at one point trying to use another tool/library, and the same problem was there - not all playlists were there.

Is there anything I can look into to find them?

@aquaflamingo
Copy link

Hi @depesz, you might need to set the limit keyword value in the playlists instance method for user. I ran into this as well, see documentation

@depesz
Copy link
Author

depesz commented Mar 13, 2022

I played with limit and paging. Whatever I do i just get some of playlists.

@bitangxxx
Copy link

It's a quite old question, but maybe someone can use this: you have to set the proper scopes for the user in the Omniauth initializer and re-authorize the user. In my case playlist-read-private and playlist-read-collaborative scopes made the magic.

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

3 participants