mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-26 16:15:51 +03:00
[GH-ISSUE #362] Playback doesn't start when uris argument provided #211
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#211
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 @Thierry-Gls on GitHub (Mar 20, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/362
Hi,
So I've been working on a project using spotify with python. I use spotipy for the script and spotifyd to create a spotify connect device that I can retrieve with my script.
Since then my script was working fine (start, pause playback, redirecting to my playlist when I'm currently playing a track that is not in my playlist), but now when I start the playback and redirect to my playlist, the playback just doesn't start.
Here's the code that apparently doesn't work
spotify_obj.start_playback(device_id=spotifyd_device, uris=tracks_list)An example of what contains the tracks_list
['spotify:track:0PiwFz4yt1701RA6TcvPF5', 'spotify:track:3VmWsrEdKlcLe19RdGmwb0']It works when I stop the playback or when I start without providing a uris list.
Apparently Spotify made some recent changes about uris (for playlists mainly), maybe this is where the issue come from?
Thank you very much !
@wackazong commented on GitHub (Mar 20, 2019):
For me play also does not work if I just use a device_id. See also: https://github.com/librespot-org/librespot/issues/288. I have the same issue when using the Web API, changing the song is not possible.
@wackazong commented on GitHub (Mar 20, 2019):
Update your client to the latest librespot version, that fixes it. Its not a spotipy issue I think.
@Thierry-Gls commented on GitHub (Mar 21, 2019):
I can confirm, it solved the problem. Thanks a lot !