diff --git a/SpotifyImport.py b/SpotifyImport.py index 3c5fb71500807418f9c4590267ec52321d7bea3c..2aac83acae51e38a688709152075c219aef8ce05 100644 --- a/SpotifyImport.py +++ b/SpotifyImport.py @@ -14,7 +14,7 @@ LOGGER = DefaultLogger().create_logger_if_not_exists('SpotifyBackup', logFormat= class SpotifyImport: def __init__(self, clientID: str): client_credentials_manager = SpotifyPKCE(client_id=clientID, redirect_uri='http://localhost:8080', - scope='playlist-modify-private') + scope='playlist-modify-private,playlist-modify-public') self._spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager) def import_playlist(self, backupFilePath: str, username: str, playlistID: str):