From 2827591b9d9304d7c8f88d39734fced372404856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20P=C3=A9rez?= Date: Mon, 21 Jul 2014 13:02:01 +0200 Subject: [PATCH] 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. --- examples/add_tracks_to_playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/add_tracks_to_playlist.py b/examples/add_tracks_to_playlist.py index 16aaaba..69039ce 100644 --- a/examples/add_tracks_to_playlist.py +++ b/examples/add_tracks_to_playlist.py @@ -16,7 +16,7 @@ else: print "Usage: %s username playlist_id track_id ..." % (sys.argv[0],) sys.exit() -scope = 'playlist-modify' +scope = 'playlist-modify-public' token = util.prompt_for_user_token(username, scope) if token: