807 B
807 B
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
- 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"
- Fyll i
config.pymed dina egna API-nycklar och inställningar. - Installera beroenden:
pip install requests - Kör scriptet:
python3 discovery_sync.py
Vill du automatisera? Lägg till i cron eller som systemd-timer.