Fix download progress bar being hidden

This commit is contained in:
unknown
2025-12-19 05:13:10 +01:00
parent 4c3094ebb5
commit d1468dff5a
3 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@@ -62,7 +62,6 @@ def download_album(album):
get_album_name(album) get_album_name(album)
tracks = get_album_tracks(album) tracks = get_album_tracks(album)
# Only create Disc folders when the album truly has multiple discs.
disc_numbers = { disc_numbers = {
(t.get('disc_number') if isinstance(t, dict) else None) or 1 (t.get('disc_number') if isinstance(t, dict) else None) or 1
for t in tracks for t in tracks
@@ -84,7 +83,7 @@ def download_album(album):
'album_id': album, 'album_id': album,
'album_multi_disc': '1' if album_multi_disc else '0', 'album_multi_disc': '1' if album_multi_disc else '0',
}, },
disable_progressbar=True disable_progressbar=False
) )
if result == 'downloaded': if result == 'downloaded':

View File

@@ -78,7 +78,7 @@ def download_playlist(playlist):
'playlist_total': str(total), 'playlist_total': str(total),
'playlist_id': playlist[ID], 'playlist_id': playlist[ID],
}, },
disable_progressbar=True disable_progressbar=False
) )
if result == 'downloaded': if result == 'downloaded':
downloaded += 1 downloaded += 1