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

Additional scope required for collaborative playlists #46

Open
Schoonology opened this issue Jul 7, 2018 · 1 comment
Open

Additional scope required for collaborative playlists #46

Schoonology opened this issue Jul 7, 2018 · 1 comment

Comments

@Schoonology
Copy link

I'm setting up Mycroft to use an account with collaborative playlists in Spotify. After looking through the Spotify API documentation, it looks like the playlist-read-collaborative OAuth scope is required to include collaborative playlists in current_user_playlists().

I added the scope manually during the OAuth handshake, and confirmed that it fixes the issue. I'm still new to developing Mycroft skills, and I don't see any way where you've set the scopes for this application, so I can't see a way to create a Pull Request for this behaviour.

While I have this working for myself, I thought you might want to add the playlist-read-collaborative scope to this skill for everyone else.

Thanks! 😄

@forslund
Copy link
Owner

forslund commented Jul 8, 2018

Thanks, I'm planning to update the scopes to make it possible to check if the user is premium or not to give better error messages. I'll add this as well.

If any other scope is useful let me know!

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

2 participants