Update musicfetch

Specify API key by environment variable instead of in plaintext
This commit is contained in:
zebra 2025-06-09 21:20:31 +00:00
parent 6110146908
commit 2751e65038

View File

@ -9,7 +9,7 @@ from requests.exceptions import Timeout
# === CONFIGURATION ===
LIDARR_URL = "http://localhost:8686" # Your Lidarr base URL
API_KEY = "" # Your Lidarr API key
AAPI_KEY = os.environ.get("LIDARR_API_KEY", "") # Your Lidarr API key
ROOT_FOLDER = "/media/music"
headers = {