Sonarr
What is it?¶
Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows 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.
Details | |||
---|---|---|---|
Project home | Docs | Github | Docker |
URL¶
- To access Sonarr, visit https://sonarr.yourdomain.com
Settings¶
Click on "Settings" in the sidebar. Click "Show Advanced" at the top of the Settings pane.
Make changes in the following sections:
Settings
These settings control management of media files.
-
"Rename Episodes":
Yes
-
"Replace Illegal Characters":
Yes
-
Set your preferred naming format; here are some examples:
Plex's Naming Preference
Example:
/Gotham/Season 01/Gotham - s01e01 - Pilot.mkv
Standard Episode Format:
{Series Title} - s{season:00}e{episode:00} - {Episode Title}
Anime Episode Format:
{Series Title} - s{season:00}e{episode:00} - {Episode Title}
Daily Episode Format:
{Series Title} - {Air-Date} - {Episode Title}
Season Folder Format:
Season {season:00}
Multi-Episode Style:
Prefixed Range
Reference: https://support.plex.tv/articles/200220687-naming-series-season-based-tv-shows/
TRaSH' naming guide
Example:
Single Episode: The Series Title! (2010) - S01E01 - Episode Title 1 [AMZN WEBDL-1080p Proper][HDR][10bit][x264][DTS 5.1]-RlsGrp Multi Episode: The Series Title! (2010) - S01E01-E02-E03 - Episode Title [AMZN WEBDL-1080p Proper][HDR][10bit][x264][DTS 5.1]-RlsGrp
Standard Episode Format:
{Series TitleYear} - S{season:00}E{episode:00} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRange]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}{[Mediainfo AudioCodec}{ Mediainfo AudioChannels]}{MediaInfo AudioLanguages}{-Release Group}
for more examples and discussion see the reference: https://trash-guides.info/Sonarr/Sonarr-recommended-naming-scheme/
-
"Create empty series folders":
No
-
"Delete empty folders":
No
-
"Skip Free Space Check":
No
-
"Use Hardlinks instead of Copy":
Yes
-
"Import Extra Files":
Yes
(can be your preference) -
"Extra File Extensions":
srt, sub, idx
-
"Ignore Deleted Episodes":
No
(can be your preference) -
"Download Propers":
No
(can be your preference) -
"Analyse video files":
No
-
"Change File Date":
None
-
"Recycle Bin": blank (Rclone deletes are sent to Gdrive trash folder, anyway)
- Set Permissions:
No
- Click "Save".
These settings control indexers and related behavior.
-
Click Add Indexer (
+
). -
Select "Newznab".
-
Add the following:
Name: NZBHydra2
Enable RSS Sync: Your Preference
Enable Search: Your Preference
URL:
http://nzbhydra2:5076
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 you have defined in Jackett will need to be added separately.
-
Click Add Indexer (
+
) -
Select "Torznab".
-
Add the following:
Name: Indexer Name
Enable RSS Sync: Your Preference
Enable Search: Your Preference
API Key: Your Jackett API Key
Additional Parameters: Leave Blank
-
Your settings will look like this:
-
Click "Save" to add the indexer.
These settings control downloading behavior and clients.
-
"Enable":
Yes
-
"Remove":
Yes
(can be your preference)
-
"Redownload":
Yes
-
"Remove":
Yes
-
Click Add (
+
) -
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:
sonarr
Use SSL:
No
Add Paused:
No
-
Your settings will look like this:
-
Click "Save" to add NZBGet.
-
Click Add (
+
) -
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:
sonarr
Directory: Leave Blank
-
Your settings will now look like this:
-
Click "Save" to add ruTorrent.
These settings control connections to other applications or systems.
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
files are in the folder that Sonarr just imported from, it will delete the imported video file(s), leaving just the .rar
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/torrents/TorrentCleanup.py
-
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: Autoscan
On Grab:
No
On Import:
Yes
On Upgrade:
Yes
On Rename:
Yes
On Series Delete:
Yes
On Episode File Delete:
Yes
On Episode File Delete For Upgrade:
Yes
Tags: Leave Blank
URL:
http://autoscan:3030/triggers/sonarr
Method:
POST
Username: AS SET IN AUTOSCAN CONFIG [defaults to Saltbox Username]
Password: AS SET IN AUTOSCAN CONFIG [defaults to Saltbox Username]
-
The settings will look like this:
-
Click "Save" to add Autoscan.
These settings control general aspects of Sonarr.
-
"Bind Address:
*
-
"Port Number":
8989
-
"URL Base": blank
-
"Enable SSL":
No
(SSL is handled by Traefik)
- "Use Proxy":
No
- "Log Level":
Debug
- "Enable":
No
(your preference)
-
"Branch":
main
-
"Automatic":
Off
- Click "Save".
TV Path¶
-
When you are ready to add your first show to Sonarr, click the "Path" drop-down and select "Add a different path".
-
Click the blue "Browse" button, navigate to
/mnt/unionfs/Media/TV
, scroll to the bottom, and select "OK". -
Click the green "check" button to add the path.
-
All TV shows added now will have that path set.
API Key¶
This is used during the setup of Overseer and Organizr.
- Go to "Settings" -> "General" -> "Security" -> "API Key".
Guides¶
Next¶
Are you setting Saltbox up for the first time? Continue to Radarr.