feat: Added pad_number_width setting to the backend (deezspot 2.7.2
This commit is contained in:
@@ -32,6 +32,7 @@ def download_album(
|
||||
spotify_metadata=True,
|
||||
_is_celery_task_execution=False, # Added to skip duplicate check from Celery task
|
||||
real_time_multiplier=None,
|
||||
pad_number_width=None,
|
||||
):
|
||||
if not _is_celery_task_execution:
|
||||
existing_task = get_existing_task_id(
|
||||
@@ -117,6 +118,7 @@ def download_album(
|
||||
bitrate=bitrate,
|
||||
artist_separator=artist_separator,
|
||||
spotify_metadata=spotify_metadata,
|
||||
pad_number_width=pad_number_width,
|
||||
)
|
||||
print(
|
||||
f"DEBUG: album.py - Album download via Deezer (account: {fallback}) successful for Spotify URL."
|
||||
@@ -175,6 +177,7 @@ def download_album(
|
||||
bitrate=bitrate,
|
||||
artist_separator=artist_separator,
|
||||
real_time_multiplier=real_time_multiplier,
|
||||
pad_number_width=pad_number_width,
|
||||
)
|
||||
print(
|
||||
f"DEBUG: album.py - Spotify direct download (account: {main} for blob) successful."
|
||||
@@ -231,6 +234,7 @@ def download_album(
|
||||
bitrate=bitrate,
|
||||
artist_separator=artist_separator,
|
||||
real_time_multiplier=real_time_multiplier,
|
||||
pad_number_width=pad_number_width,
|
||||
)
|
||||
print(
|
||||
f"DEBUG: album.py - Direct Spotify download (account: {main} for blob) successful."
|
||||
@@ -271,6 +275,7 @@ def download_album(
|
||||
convert_to=convert_to,
|
||||
bitrate=bitrate,
|
||||
artist_separator=artist_separator,
|
||||
pad_number_width=pad_number_width,
|
||||
)
|
||||
print(
|
||||
f"DEBUG: album.py - Direct Deezer download (account: {main}) successful."
|
||||
|
||||
Reference in New Issue
Block a user