From a309d5653dd09af19d63c4ad758fe10c2af4744a Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Thu, 1 Feb 2024 03:15:22 +0300 Subject: [PATCH] updated cache root --- akarpov/music/services/spotify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/akarpov/music/services/spotify.py b/akarpov/music/services/spotify.py index cafa033..3abb3e6 100644 --- a/akarpov/music/services/spotify.py +++ b/akarpov/music/services/spotify.py @@ -26,7 +26,7 @@ def search(name: str, session: spotipy.Spotify, search_type="track"): def download_url(url, user_id=None): spot_settings = { "simple_tui": True, - "log_level": "DEBUG", + "log_level": "ERROR", "lyrics_providers": ["genius", "musixmatch"], } @@ -34,7 +34,6 @@ def download_url(url, user_id=None): client_id=settings.MUSIC_SPOTIFY_ID, client_secret=settings.MUSIC_SPOTIFY_SECRET, user_auth=False, - cache_path=settings.MEDIA_ROOT, headless=False, downloader_settings=spot_settings, )