From c01ffb45abf56fea0b0f3e65ce4ef1874ea43698 Mon Sep 17 00:00:00 2001 From: "cool.gitter.choco" Date: Mon, 27 Jan 2025 10:26:15 -0600 Subject: [PATCH] removed printing --- docker-compose.yaml | 2 +- routes/utils/playlist.py | 2 -- routes/utils/track.py | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index ab7f1a4..b05ee82 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,4 +6,4 @@ services: - ./downloads:/app/downloads ports: - 7171:7171 - image: spotizerr \ No newline at end of file + image: cooldockerizer93/spotizerr diff --git a/routes/utils/playlist.py b/routes/utils/playlist.py index 9f208ef..9a49ffb 100644 --- a/routes/utils/playlist.py +++ b/routes/utils/playlist.py @@ -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) diff --git a/routes/utils/track.py b/routes/utils/track.py index 1426d5d..bb23aaa 100644 --- a/routes/utils/track.py +++ b/routes/utils/track.py @@ -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)