mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #1082] Unable To Start Playback #640
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#640
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 @ZacharyBrammer on GitHub (Mar 31, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1082
Hey y'all, just started using spotipy and I'm having issues getting playback to start. I'm trying to control music playing on my laptop (or whatever device) from a raspberry pi.
Here is the code I have written:
If a song is currently playing and I run my script, it just pauses whatever is playing and nothing else happens. If I have nothing playing, I get the following error:
I've got the spotify dev docs open and the request they've got works just fine, so I'm not sure where I went wrong in my code
@ZacharyBrammer commented on GitHub (Mar 31, 2024):
So I just copied over the example code for playback into another file and now it works? Only difference it seems is that I have
auth_manager=SpotifyOAuthinstead of(client_credentials_manager=SpotifyOAuth. I don't know if that file is just cursed or what, but even when I replaced all of my code with the example it didn't work.@ZacharyBrammer commented on GitHub (Mar 31, 2024):
I deleted the old file and put my code in a new one and now it works. No clue what the issue was, but it's gone now