discoverylidarr/README.md

30 lines
813 B
Markdown
Raw Normal View History

2025-06-23 10:31:25 +02:00
# DiscoveryLidarr 🎧
2025-06-23 10:30:38 +02:00
2025-06-23 10:31:25 +02:00
Upptäck nya artister baserat på din Last.fm-historik och lägg till dem i Lidarr automatiskt.
2025-06-23 15:26:02 +02:00
Du behöver:
- En fungerande Lidarr instans
- Last.fm konto
- scrubbing från t.ex. plex till last.fm
2025-06-23 10:31:25 +02:00
## Instruktioner
2025-06-23 15:26:02 +02:00
0. Skapa en fil "config_local.py" som innehåller:
2025-06-23 15:26:35 +02:00
```
LASTFM_USERNAME = "username" # your Last.fm username
LASTFM_API_KEY = "lastfm_api_key" #you can get your own API key from https://www.last.fm/api/account/create
2025-06-23 10:31:25 +02:00
2025-06-23 15:26:35 +02:00
LIDARR_URL = "Your_Lidarr_instance"
LIDARR_API_KEY = "your_Lidarr_api_key"
```
2025-06-23 10:31:25 +02:00
1. Fyll i `config.py` med dina egna API-nycklar och inställningar.
2. Installera beroenden:
```
pip install requests
```
3. Kör scriptet:
```
python3 discovery_sync.py
```
Vill du automatisera? Lägg till i cron eller som systemd-timer.