From 371de63d21f6b0e4c2173dbb8eb131f7ed385b78 Mon Sep 17 00:00:00 2001 From: yiannisha Date: Wed, 27 Oct 2021 22:14:35 +0300 Subject: [PATCH] Revert "Added digit prefixes to playlist track names" This reverts commit 0915741249f3ac711065eaba6f39ac7d49608a8e. --- zspotify/playlist.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/zspotify/playlist.py b/zspotify/playlist.py index cf333d1b..9a1304c2 100644 --- a/zspotify/playlist.py +++ b/zspotify/playlist.py @@ -52,12 +52,10 @@ def download_playlist(playlist): playlist_songs = [song for song in get_playlist_songs(playlist[ID]) if song[TRACK][ID]] p_bar = tqdm(playlist_songs, unit='song', total=len(playlist_songs), unit_scale=True) - enum = 1 for song in p_bar: download_track(song[TRACK][ID], sanitize_data(playlist[NAME].strip()) + '/', - prefix=True, prefix_value=str(enum) ,disable_progressbar=True) + disable_progressbar=True) p_bar.set_description(song[TRACK][NAME]) - enum += 1 def download_from_user_playlist():