Extras: Lidarr - dibrz/ARMBand GitHub Wiki
Lidarr is basically Sonarr for music.
It functions as a music collection manager for Usenet and BitTorrent users. It can monitor multiple RSS feeds from Bittorrent trackers and Usenet Indexers, looking for new tracks from your favorite artists and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
- To access Lidarr, visit https://lidarr.yourdomain.com
See Adding a Subdomain on how to add the subdomain lidarr
to your DNS provider.
Note: You can skip this step if you are using Cloudflare with Cloudbox.
Run the following commands:
cd ~/cloudbox/
sudo ansible-playbook cloudbox.yml --tags lidarr
-
Go to "Settings" -> "General".
-
Set "Advanced Settings":
Shown
-
"Bind Address:
*
-
"Port Number":
8686
-
"URL Base": blank
-
"Enable SSL":
No
(SSL is handled by Nginx-Proxy) -
"Open browser on start":
No
-
"Authentication":
Forms (Login page)
(can also be set toBasic (Browser popup)
) -
"Username": your Sonarr username
-
"Password": your Sonarr password
- "Use Proxy":
No
- "Log Level":
Debug
- "Send Anonymous Usage Data":
No
(your preference)
-
"Branch":
develop
-
"Automatic":
Off
- Click "Save".
-
Click "Settings" -> "Media Management".
-
Enable "Rename Tracks".
-
Enable "Replace Illegal Characters".
-
Set your preferred naming format (you can use the ones mentioned below).
Plex's Naming Preference
Example:
01 - Shine On You Crazy Diamond (Parts I-V).m4a
Standard Track Format:
{track:00} - {Track Title}
Artist Folder Format:
{Artist Name}
Album Folder Format:
{Artist Name} - {Album Title}
Ref: https://support.plex.tv/articles/categories/media-preparation/naming-and-organizing-music-media/
-
Disable "Analyse audio files".
-
Click "Save".
-
Click "Settings" -> "Download Client".
-
Enable "Completed Download Handling" and "Remove" under it.
-
Add a new "NZBGet" download client.
-
Add the following:
-
Name: NZBGet
-
Enable:
Yes
-
Host:
nzbget
-
Port:
6789
-
Username: Your NZBGet Username
-
Password: Your NZBGet Password
-
Category:
lidarr
-
Use SSL:
No
-
Add Paused:
No
-
-
Your settings will now look like this:
-
Click "Save" to add NZBGet.
-
Add a new "rTorrent" download client.
-
Add the following:
-
Name: ruTorrent
-
Enable:
Yes
-
Host:
rutorrent
-
Port:
80
-
URL Path:
RPC2
-
Use SSL:
No
-
Username: Your ruTorrent Username
-
Password: Your ruTorrent Password
-
Category:
lidarr
-
Directory: Leave Blank
-
-
Your settings will look like this:
-
Click "Save" to add ruTorrent.
-
Go to "Settings" -> "Indexers".
-
Set "Advanced Settings":
Shown
-
Add in your your favorite indexers.
-
Click "Settings" -> "Indexers".
-
Click Add Indexer (
+
). -
Select "Newznab".
-
Add the following:
-
Name: NZBHydra2
-
Enable RSS Sync: Your Preference
-
Enable Search: Your Preference
-
URL:
http://nzbhydra:5075
-
API Path:
/api
-
API Key: Your NZBHydra2 API Key
-
Additional Parameters: Leave Blank
-
-
Your settings will look like this:
-
Click "Save" to add NZBHydra2.
Note: The "Test" will keep failing until you add an indexer in NZBHydra2.
Note: Each Indexer will need to be added separately.
-
Click "Settings" -> "Indexers".
-
Click Add Indexer (
+
) -
Select "Torznab".
-
Add the following:
-
Name: Indexer's Name
-
Enable RSS Sync: Your Preference
-
Enable Search: Your Preference
-
API Path:
/api
-
API Key: Your Jackett API Key
-
Additional Parameters: Leave Blank
-
-
Your settings will look like this:
-
Click "Save" to add the indexer.
Torrent Cleanup Script is a custom script that will cleanup torrents from ruTorrent that were auto-extracted, but still being seeded. So if the script detects that .rar/.zip files are in the folder that Lidarr just imported from, it will delete the imported video file(s), leaving just the .rar/.zip files for seeding.
-
Click "Settings" -> "Connect".
-
Add a new "Custom Script".
-
Add the following:
-
Name: Torrent Cleanup
-
On Grab:
No
-
On Download:
Yes
-
On Upgrade:
Yes
-
On Rename:
No
-
Path:
/scripts/torrent/TorrentCleanup.py
-
Arguments:
lidarr
-
-
The settings will look like this:
-
Click "Save" to add the Torrent Cleanup script.
-
Click "Settings" -> "Connect".
-
Add a new "Webhook".
-
Add the following:
-
Name: Plex Autoscan
-
On Grab:
No
-
On Download:
Yes
-
On Upgrade:
Yes
-
On Rename:
Yes
-
Method:
POST
-
Username: Leave Blank
-
Password: Leave Blank
-
-
The settings will look like this:
-
Click "Save" to add Plex Autoscan.
-
When you are ready to add your first artist to Lidarr, click the "Path" drop-down and select "Add a different path".
-
Click the blue "Browse" button, select the
music
folder, scroll to the bottom, and select "OK". -
Click the green "check" button to add the path.
-
All artist added now will have that path set.
This is used during the setup of Organizr.
- Go to "Settings" -> "General" -> "Security" -> "API Key".