updated README

This commit is contained in:
zebra 2025-06-09 16:57:48 -07:00
parent 36553fa766
commit 9d41f4dc33

View File

@ -58,21 +58,21 @@ export LIDARR_API_KEY="your-lidarr-api-key"
Or run inline: Or run inline:
```bash ```bash
LIDARR_API_KEY="your-lidarr-api-key" ./musicfetch.py "Artist - Track" LIDARR_API_KEY="your-lidarr-api-key" ./musicfetch "Artist - Track"
``` ```
🧑‍💻 Usage 🧑‍💻 Usage
🔉 Download by Search Term 🔉 Download by Search Term
```bash ```bash
./musicfetch.py "Artist - Track" ./musicfetch "Artist - Track"
``` ```
Example: Example:
```bash ```bash
./musicfetch.py "ODESZA - Bloom" ./musicfetch "ODESZA - Bloom"
``` ```
If Lidarr finds the artist and album, it will trigger a download in Lidarr. If not, the song will be downloaded via yt-dlp using a YouTube search. If Lidarr finds the artist and album, it will trigger a download in Lidarr. If not, the song will be downloaded via yt-dlp using a YouTube search.
📺 Download by URL 📺 Download by URL
```bash ```bash
./musicfetch.py "https://www.youtube.com/watch?v=xxxxxxxxxxx" ./musicfetch "https://www.youtube.com/watch?v=xxxxxxxxxxx"
``` ```
The script extracts metadata from the video and organizes the file under the artist's folder. The script extracts metadata from the video and organizes the file under the artist's folder.
📁 Output Structure 📁 Output Structure