From dd42d924ef9a63b0a629021ae957d45fa85af120 Mon Sep 17 00:00:00 2001 From: zebra Date: Mon, 9 Jun 2025 14:24:23 -0700 Subject: [PATCH] Updates to API key input --- README.md | 6 +++--- musicfetch | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 11cff73..2e436c6 100644 --- a/README.md +++ b/README.md @@ -78,12 +78,12 @@ The script extracts metadata from the video and organizes the file under the art 📁 Output Structure Music is saved in: - +``` /base_dir/ ├── Artist Name/ │ ├── Album Name/ (if found via Lidarr) │ └── youtube/ (if fallback used) - +``` ❓ Troubleshooting No results from Lidarr? @@ -102,4 +102,4 @@ Music is saved in: PRs welcome! Just keep it simple and compatible with Bash-based workflows. 📜 License -MIT – Use it freely and improve it as you wish! \ No newline at end of file +MIT – Use it freely and improve it as you wish! diff --git a/musicfetch b/musicfetch index fe76965..4f3f285 100644 --- a/musicfetch +++ b/musicfetch @@ -9,7 +9,7 @@ from requests.exceptions import Timeout # === CONFIGURATION === LIDARR_URL = "http://localhost:8686" # Your Lidarr base URL -AAPI_KEY = os.environ.get("LIDARR_API_KEY", "") # Your Lidarr API key +API_KEY = os.environ.get("LIDARR_API_KEY", "") # Your Lidarr API key ROOT_FOLDER = "/media/music" headers = {