mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #659] Spotipy can no longer find devices #393
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#393
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Octacon100 on GitHub (Mar 23, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/659
So I've had some code running for weeks and it's been able to find my chromecasts/google homes pretty well, but last night it seems to have issues finding any chromecasts/google homes, I'm wondering if a Spotify update might have caused it. Seems like the web interface doesn't list google homes/chromecasts any more, it just lists "Google Cast" and you select your speaker inside of there.
Here's my code I'm using:
Here's the output:
Looks like it can't find anything at all even if the google home is assigned to the spotify controller.
@provinzio commented on GitHub (Mar 23, 2021):
I have the same problem. I can see my devices using the spotify web api console, but
spotipy.Spotify.devices()is empty.EDIT: It might be due to this error
HTTP Error for PUT to https://api.spotify.com/v1/me/player/play?device_id=<MY_DEVICE_ID> returned 403 due to Player command failed: Restriction violated. I usesp_dcandsp_keyas login credentials.@Octacon100 commented on GitHub (Mar 24, 2021):
Best answer I can find is that the token security needed for this to work now is "user-read-playback-state", which sounds like a new thing from previous, based on this Spotify help chat: https://community.spotify.com/t5/Spotify-for-Developers/get-users-available-devices-return-empty-even-if-I-am-opening/td-p/5172688
Edit: Here's the information on the api call: https://developer.spotify.com/documentation/web-api/reference/#endpoint-get-a-users-available-devices
Looks like there's a bunch of Spotify tickets around playing on Chromecast. I had this working for weeks, would like to know if there's anything I can do to help with this. https://github.com/spotify/web-api/issues/787
@jfmennedy commented on GitHub (Apr 3, 2021):
Same issue for me since mars 22.. what happened with spotify? Is there any solution ? if not i will cancel my spotify account... just started paying the family account and now its not working anymore...
@fondberg commented on GitHub (Apr 11, 2021):
This is a spotify problem. The scope for the super token or for older tokens that hasn't requested the scope user-read-playback-state will not see anything
@provinzio commented on GitHub (Apr 11, 2021):
@fondberg do you now a way to fix this? I already renewed my
sp_dcandsp_keycookies without any effect.@fondberg commented on GitHub (Apr 11, 2021):
Yes and no. Head over to spotcast where I will reveal it soon :-)
@stephanebruckert commented on GitHub (Apr 14, 2021):
Since there is nothing we can do about this on the spotipy side, I'm closing this