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 14:40:44 +02:00
|
|
|
Du behöver ha:
|
|
|
|
|
- Lidarr uppsatt och fungerande
|
|
|
|
|
- lastfm konto
|
|
|
|
|
- scrubbing från exempelvis plex till lastfm
|
2025-06-23 10:31:25 +02:00
|
|
|
|
|
|
|
|
## Instruktioner
|
2025-06-23 14:40:44 +02:00
|
|
|
01. Skapa en fil "config_local.py"som innehåller variabler för:
|
|
|
|
|
```
|
|
|
|
|
LASTFM_USERNAME = "ditt_lastfm_användarnamn"
|
|
|
|
|
LASTFM_API_KEY = "din_lastfm_api_nyckel" #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 14:40:44 +02:00
|
|
|
LIDARR_URL = "Din_lidarr_url"
|
|
|
|
|
LIDARR_API_KEY = "din_lidarr_api_nyckel"
|
|
|
|
|
```
|
2025-06-23 10:31:25 +02:00
|
|
|
1. Fyll i `config.py` med dina egna API-nycklar och inställningar.
|
2025-06-23 14:35:53 +02:00
|
|
|
2. Installera beroenden (Om det inte redan finns):
|
2025-06-23 10:31:25 +02:00
|
|
|
```
|
|
|
|
|
pip install requests
|
|
|
|
|
```
|
|
|
|
|
3. Kör scriptet:
|
|
|
|
|
```
|
|
|
|
|
python3 discovery_sync.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Vill du automatisera? Lägg till i cron eller som systemd-timer.
|