Set up Lidarr
Lidarr manages your music by artist and album, sends downloads to SABnzbd and files the results into your library.
Before you start
- A server with Docker: Set up a Debian or Ubuntu server and Install Docker. The Yarr Media installer already installs Docker.
- The
/srv/datafolders from the server guide (/srv/data/media/…for your library and/srv/data/usenet/…for downloads). - The server's address on your network, for example
192.168.1.50(runhostname -Ion the server). ReplaceSERVER-IPbelow with it.
1. Start Lidarr
sudo mkdir -p /opt/lidarr && cd /opt/lidarr
sudo tee compose.yaml > /dev/null <<'EOF'
services:
lidarr:
image: lscr.io/linuxserver/lidarr:latest
container_name: lidarr
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
volumes:
- ./config:/config
- /srv/data:/data
ports:
- 8686:8686
restart: unless-stopped
EOF
sudo docker compose up -dChange PUID/PGID to your own numbers (run id; usually 1000) and TZ to your time zone (run timedatectl show -p Timezone --value). The /srv/data:/data line gives the app the same folders as the other apps, so finished downloads are moved into your library instantly instead of copied.
2. Open Lidarr and protect it
Open http://SERVER-IP:8686 in a browser. The first time, Lidarr asks you to choose how to sign in: pick Forms (Login Page), set a username and password, and save. You can choose Disabled for Local Addresses if you only use it at home.
3. Set the library folder
- Go to Settings → Media Management.
- Under Root Folders, choose Add Root Folder and select
/data/media/music. - Choose a quality profile and metadata profile for the root folder when asked.
- Choose Save Changes.
Lidarr names and files everything the way Yarr Media expects (see Organize your media folders).
4. Connect SABnzbd
- Go to Settings → Download Clients and choose +, then SABnzbd.
- Host:
SERVER-IP(notlocalhost; each app runs in its own container). Port:8080. - API Key: SABnzbd's API key (SABnzbd → Config → General → Security).
- Category:
music. - Choose Test, then Save.
No SABnzbd yet? See Set up SABnzbd.
5. Add indexers
Indexers are how Lidarr searches. The easiest way to manage them is Prowlarr: add your indexers there once and it fills them in for Lidarr automatically.
6. Connect Lidarr to Yarr Media
- In Lidarr, go to Settings → General and copy the API Key.
- In Yarr Media, go to Settings → Integrations → Lidarr.
- Enter the address
http://SERVER-IP:8686and paste the API key, then choose Connect Lidarr.
Yarr Media can now use Lidarr for your artists and albums and send new titles to it. When a download finishes, Lidarr moves it into /data/media/music and it appears in your Yarr library at the next scan.
Updating
The image is updated by pulling the new version and recreating the container. Your settings in /opt/lidarr/config are kept.
cd /opt/lidarr && sudo docker compose pull && sudo docker compose up -dGood to know
Only download media you have the rights to. Yarr Media plays files from your own folders and does not supply movies, shows or music.