29 lines
813 B
Markdown
29 lines
813 B
Markdown
# DiscoveryLidarr 🎧
|
|
|
|
Upptäck nya artister baserat på din Last.fm-historik och lägg till dem i Lidarr automatiskt.
|
|
|
|
Du behöver:
|
|
- En fungerande Lidarr instans
|
|
- Last.fm konto
|
|
- scrubbing från t.ex. plex till last.fm
|
|
|
|
## Instruktioner
|
|
0. Skapa en fil "config_local.py" som innehåller:
|
|
```
|
|
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
|
|
|
|
LIDARR_URL = "Your_Lidarr_instance"
|
|
LIDARR_API_KEY = "your_Lidarr_api_key"
|
|
```
|
|
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.
|