Update musicfetch
Specify API key by environment variable instead of in plaintext
This commit is contained in:
parent
6110146908
commit
2751e65038
@ -9,7 +9,7 @@ from requests.exceptions import Timeout
|
|||||||
|
|
||||||
# === CONFIGURATION ===
|
# === CONFIGURATION ===
|
||||||
LIDARR_URL = "http://localhost:8686" # Your Lidarr base URL
|
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"
|
ROOT_FOLDER = "/media/music"
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user