mirror of
https://github.com/c0de-archive/spotipy.git
synced 2024-11-05 07:27:47 +00:00
Rename scope to playlist-modify-public
Spotify's Web API has renamed the `playlist-modify` scope to `playlist-modify-public` to better describe what it allows. Even though the old one will be supported for some time, the new one is the preferred way to go.
This commit is contained in:
parent
61baf982f4
commit
2827591b9d
@ -16,7 +16,7 @@ else:
|
|||||||
print "Usage: %s username playlist_id track_id ..." % (sys.argv[0],)
|
print "Usage: %s username playlist_id track_id ..." % (sys.argv[0],)
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
scope = 'playlist-modify'
|
scope = 'playlist-modify-public'
|
||||||
token = util.prompt_for_user_token(username, scope)
|
token = util.prompt_for_user_token(username, scope)
|
||||||
|
|
||||||
if token:
|
if token:
|
||||||
|
Loading…
Reference in New Issue
Block a user