Lidarr Configuration¶
Configure Lidarr integration to automatically add discovered artists to your music library.
Optional Configuration
Lidarr configuration is only needed if you plan to use the --lidarr flag or the import command.
What is Lidarr?¶
Lidarr is a music collection manager for automatic music downloads. It can monitor artists for new releases and automatically download them.
Prerequisites¶
- Running Lidarr instance (version 1.0 or higher)
- Network access to Lidarr from where you're running Artist Scraper
Get Your API Key¶
- Open your Lidarr web interface
- Go to Settings → General
- Scroll to the Security section
- Copy your API Key
Update config.json¶
Add your Lidarr configuration:
Configuration Options¶
- url: The full URL to your Lidarr instance
- Local:
http://localhost:8686 - Remote:
http://192.168.1.100:8686 - With reverse proxy:
https://lidarr.yourdomain.com
- Local:
- api_key: Your Lidarr API key from Settings → General
Test Connection¶
Test that Artist Scraper can connect to Lidarr:
If successful, you'll see:
How It Works¶
When you use the --lidarr flag:
- Artist Scraper fetches artists from Spotify/YouTube Music
- Looks up MusicBrainz IDs for each artist
- Connects to Lidarr
- For each artist with a MusicBrainz ID:
- Checks if the artist already exists in Lidarr
- If not, searches Lidarr's database
- Adds new artists with default settings:
- Monitored: Yes
- Search for missing: No (to avoid mass downloads)
- Root folder: Your default root folder
- Quality profile: Your default quality profile
- Metadata profile: Your default metadata profile
Using the Import Command¶
Instead of adding to Lidarr immediately during scrape, you can:
-
First scrape and export to CSV:
-
Review the CSV file
-
Import to Lidarr later:
-
Or filter by play count:
This gives you more control over which artists are added.
Lidarr Settings¶
Artist Scraper uses your Lidarr default settings:
- Root Folder: First configured root folder
- Quality Profile: First configured quality profile
- Metadata Profile: First configured metadata profile
Make sure these are configured in Lidarr before importing.
Troubleshooting¶
"Failed to connect to Lidarr"¶
Causes:
- Lidarr is not running
- Wrong URL in
config.json - Wrong API key
- Network/firewall blocking connection
Solutions:
- Verify Lidarr is running and accessible in your browser
- Check the URL is correct (include
http://orhttps://) - Verify the API key in Lidarr Settings → General
- Try accessing Lidarr from the same machine running Artist Scraper
"No root folders configured"¶
Cause: Lidarr doesn't have any root folders set up
Solution:
- In Lidarr, go to Settings → Media Management
- Add at least one root folder where music will be stored
- Try again
"Artist not found in Lidarr"¶
Cause: The artist's MusicBrainz ID is not in Lidarr's database
Solution:
- This is normal for some artists
- Lidarr's database is periodically updated
- The artist may not be in MusicBrainz or Lidarr's metadata sources
- Check
--verboseoutput for details
Artists Added But Not Downloading¶
This is intentional. Artist Scraper sets search_for_missing=False to prevent:
- Mass downloads of entire discographies
- Exceeding download quotas
- Network congestion
After adding artists, you can:
- Review added artists in Lidarr
- Manually search for specific albums
- Enable "Search on add" in Lidarr settings if you want automatic downloads
Next Steps¶
Now you're ready to use Artist Scraper:
- Learn about the Scrape Command
- Or the Import Command