removed printing

This commit is contained in:
cool.gitter.choco
2025-01-27 10:26:15 -06:00
parent 42db6000aa
commit c01ffb45ab
3 changed files with 1 additions and 5 deletions

View File

@@ -6,4 +6,4 @@ services:
- ./downloads:/app/downloads
ports:
- 7171:7171
image: spotizerr
image: cooldockerizer93/spotizerr

View File

@@ -31,8 +31,6 @@ def download_playlist(service, url, main, fallback=None):
method_save=1
)
except Exception as e:
# If the first attempt fails, use the fallback Spotify main
print(f"Failed to download via Deezer fallback: {e}. Trying Spotify fallback main.")
# Load fallback Spotify credentials and attempt download
try:
spo_creds_dir = os.path.join('./creds/spotify', fallback)

View File

@@ -27,8 +27,6 @@ def download_track(service, url, main, fallback=None):
method_save=1
)
except Exception as e:
# Fallback to Spotify credentials if Deezer fails
print(f"Failed to download via Deezer fallback: {e}. Trying Spotify fallback.")
spo_creds_dir = os.path.join('./creds/spotify', fallback)
spo_creds_path = os.path.abspath(os.path.join(spo_creds_dir, 'credentials.json'))
spo = SpoLogin(credentials_path=spo_creds_path)