mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #704] PREMIUM REQUIRED, chosen the correct oauth flow :/ #417
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#417
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 @Pancham1603 on GitHub (Jul 10, 2021).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/704
I am trying to start playback, but it gives an error that Premium is required. I read several articles they say that choosing the correct oauth will fix this but the error still persists.
@stephanebruckert commented on GitHub (Jul 10, 2021):
If you print
result(the current user), what do you get? Please do this before callingsp.start_playbackOther notes:
try not to share your "code" (AQCT875sQScxnBgJ-Ua05p6....) publicly
it's not clear what kind of code that is, user or credentials?
you are using older methods which makes it a bit more difficult to help. Can you try to adapt your development code to a new method? https://github.com/plamere/spotipy/blob/master/examples/player.py
Edit: actually I just noticed the example is not entirely correct, it should be:
@Peter-Schorn commented on GitHub (Jul 10, 2021):
The error should be self-explanatory: You need a Spotify premium account to use this endpoint.
Also, "3K7vPyMCcecKRotnu08MMP" is not a URI. It should be "spotify:track:3K7vPyMCcecKRotnu08MMP".
@Pancham1603 commented on GitHub (Jul 11, 2021):
@stephanebruckert
This is what i get and it works fine but the PREMIUM_REQUIRED error still persists, just wanted to know if there's any way to control non premium spotify accounts?
Adapted the code according to the example:
It even shows the devices and everything currently, actually i am looking forward to build a big project on remote controlling the accounts but just trying the main thing first because i want it to work for non-premium accounts. If there's any way to do so then please let me know. Thanks
Also that code was my one time
expiredaccess token oof@Pancham1603 commented on GitHub (Jul 11, 2021):
fixed that thanks
@Peter-Schorn commented on GitHub (Jul 11, 2021):
If the error says "PREMIUM_REQUIRED", then premium is required. Period. There's no way of getting around that.
@masakk1 commented on GitHub (Oct 26, 2023):
Hey, very sorry to bump this issue. But I was wondering, why does Spotipy not allow free accounts? Spotify TUI is written in rust but it is able to control playback state and it does not require PREMIUM. I know for a fact that telling spotify "play this playlist" is possible on many other apps. Is this a limitation of Spotipy then?
Oh and now the spotify Web API says "free or premium" which I also found confusing.
if this is offtopic and I should make a new issue I'll do exactly that
@dieser-niko commented on GitHub (Nov 4, 2023):
Spotify obviously has more than the Web API, mostly for their front end. The spotipy library only uses the Web API. I don't know the exact reason why the others aren't implemented, but it might be because the rest has little to no official documentation and the function could change in the future without knowing it.