qobuz-dl/config.py

17 lines
545 B
Python
Raw Normal View History

2020-12-05 20:21:56 +01:00
import os
from dotenv import load_dotenv
load_dotenv()
2020-11-03 00:48:48 +01:00
# Qobuz credentials (Don't remove the quotes!)
2020-12-05 20:21:56 +01:00
email = os.getenv('QOBUZ_EMAIL')
password = os.getenv('QOBUZ_PW')
2020-11-03 00:48:48 +01:00
# Default folder where the releases are downloaded
2020-12-05 20:21:56 +01:00
default_folder = os.getenv('QOBUZ_FOLDER', "Qobuz Downloads")
2020-11-03 00:48:48 +01:00
# Default per type results limit
2020-12-05 20:21:56 +01:00
default_limit = os.getenv('QOBUZ_LIMIT', 10)
2020-11-03 00:48:48 +01:00
# Default quality for url input mode. This will be ignored in interactive mode
# (5, 6, 7, 27) [320, LOSSLESS, 24B <96KHZ, 24B >96KHZ]
2020-12-05 20:21:56 +01:00
default_quality = os.getenv('QOBUZ_QUALITY', 6)