-
Notifications
You must be signed in to change notification settings - Fork 961
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
Add connect api endpoint #182
Conversation
As discussed in home-assistant/core#7286 would it be possible to get this feature integerated and a new spotipy version released? This would ease adoption for distributions. Personally I can say I've tested spotipy (in combination with home assistant and different hardware, namely an Amazon FireTV and a Google Nexus 4 with the official Android Spotify app) with this pull request and it works really well so I'd love to see this feature getting merged. |
I had to make a small fix to this PR in order to get it working. _append_device_id adds "&device_id=%s" onto the path but this breaks if there are no existing query strings (missing "?"). causing spotify API to return 404 This fixed for me:
|
For those who wonder why changing the current device not working correctly: |
@plamere could you hit accept ;-) ? |
Nice PR, thanks! |
Thanks for the merge! |
Support for the new Spotify Connect API: https://developer.spotify.com/web-api/web-api-connect-endpoint-reference/