Fix download progress bar being hidden
This commit is contained in:
BIN
zotify/__pycache__/termoutput.cpython-314.pyc
Normal file
BIN
zotify/__pycache__/termoutput.cpython-314.pyc
Normal file
Binary file not shown.
@@ -62,7 +62,6 @@ def download_album(album):
|
||||
get_album_name(album)
|
||||
tracks = get_album_tracks(album)
|
||||
|
||||
# Only create Disc folders when the album truly has multiple discs.
|
||||
disc_numbers = {
|
||||
(t.get('disc_number') if isinstance(t, dict) else None) or 1
|
||||
for t in tracks
|
||||
@@ -84,7 +83,7 @@ def download_album(album):
|
||||
'album_id': album,
|
||||
'album_multi_disc': '1' if album_multi_disc else '0',
|
||||
},
|
||||
disable_progressbar=True
|
||||
disable_progressbar=False
|
||||
)
|
||||
|
||||
if result == 'downloaded':
|
||||
|
||||
@@ -78,7 +78,7 @@ def download_playlist(playlist):
|
||||
'playlist_total': str(total),
|
||||
'playlist_id': playlist[ID],
|
||||
},
|
||||
disable_progressbar=True
|
||||
disable_progressbar=False
|
||||
)
|
||||
if result == 'downloaded':
|
||||
downloaded += 1
|
||||
|
||||
Reference in New Issue
Block a user