do not include the playlist itself
This commit is contained in:
parent
90355661bf
commit
a9bbe2e9f6
2
main.py
2
main.py
|
@ -80,7 +80,7 @@ def update_spotify_from_export():
|
|||
|
||||
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope))
|
||||
sp.playlist(SPOTIFY_PLAYLIST_ID)
|
||||
print(sp.playlist_replace_items(SPOTIFY_PLAYLIST_ID, spotify_links))
|
||||
print(sp.playlist_replace_items(SPOTIFY_PLAYLIST_ID, [s for s in spotify_links if not s.startswith('https://open.spotify.com/playlist/')]))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue