add proxy support for SpotDL in download process

Fixes #35
This commit is contained in:
Kamil
2024-12-10 12:23:16 +00:00
parent 7676189625
commit 23d121e58f
2 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,6 @@
import os
import sys
class Config:
LOG_LEVEL = os.getenv('LOG_LEVEL', 'INFO').upper()
SECRET_KEY = os.getenv('SECRET_KEY')
@@ -33,6 +32,8 @@ class Config:
LIDARR_MONITOR_ARTISTS = os.getenv('LIDARR_MONITOR_ARTISTS','false').lower() == 'true'
MUSIC_STORAGE_BASE_PATH = os.getenv('MUSIC_STORAGE_BASE_PATH')
CHECK_FOR_UPDATES = os.getenv('CHECK_FOR_UPDATES','true').lower() == 'true'
SPOTDL_PROXY = os.getenv('SPOTDL_PROXY',None)
# SpotDL specific configuration
SPOTDL_CONFIG = {
'cookie_file': '/jellyplist/cookies.txt',