Lidarr usually pulls artist and album infos from their own api api.lidarr.audio, which pulls the data from MusicBrainz.
However, MusicBrainz does not have many artists/albums, especially for some regional niche artist.
This tool helps to enrich Lidarr, by providing a custom proxy, that hooks into the process without modifying Lidarr itself, and injects additional artists/albums from deemix.
- mitmproxy runs as a proxy
- Lidarr needs to be configured to use that proxy.
- The proxy then redirects all api.lidarr.audio calls to an internally running NodeJS service (127.0.0.1:7171)
- That NodeJS service enriches the missing artists/albums with the ones found in deemix
- Lidarr has now additiona artists/albums, and can do its thing.
Caution
If you have installed an older version, please adjust the Proxy settings as described below, otherwise the HTTP-requests will fail
Warning
This image does not come with Lidarr nor with the deemix-gui. It's an addition to your existing setup.
Note
The previous setup required to map additional volumes for certificate validation. Thx to @codefaux, here's now a simpler way for installation.
- Use the provided docker-compose.yml as an example.
- DEEMIX_ARL=xxx your deezer ARL (get it from your browsers cookies)
- PRIO_DEEMIX=true If albums with the same name exist, prioritize the ones comming from deemix
- OVERRIDE_MB=true override MusicBrainz completely - WARNING! This will delete all your artists/albums imported from MusicBrainz.
- LIDARR_URL=http://lidarr:8686 The URL of your Lidarr instance (with port), so this library can communicate with it. Important for OVERRIDE_MB
- LIDARR_API_KEY=xxx The Lidarr API Key. Important for OVERRIDE_MB
- Go to Lidarr -> Settings -> General
- Certificate Validation: to Disabled
- Use Proxy: ✅
- Proxy Type: HTTP(S)
- Hostname: container-name/IP of the machine where lidarr-deemix is running
- Port: 8080 (if using container-name), otherwise the port you exposed the service to
- Bypass Proxy for local addresses: ✅