Install: Sonarr - dibrz/ARMBand GitHub Wiki

  1. URL
  2. Settings
    1. General
    2. Media Management
    3. Download Client
    4. Indexers
    5. Connect
  3. TV Path
  4. API Key

1. URL

  • To access Sonarr, visit https://sonarr.yourdomain.com

2. Settings

i. General

  1. Go to "Settings" -> "General".

  2. Set "Advanced Settings": Shown

Start-Up

  • "Bind Address: *

  • "Port Number": 8989

  • "URL Base": blank

  • "Enable SSL": No (SSL is handled by Nginx-Proxy)

  • "Open browser on start": No

Security

  • "Authentication": Forms (Login page) (can also be set to Basic (Browser popup))

  • "Username": your Sonarr username

  • "Password": your Sonarr password

Proxy Settings

  • "Use Proxy": No

Logging

  • "Log Level": Debug

Analytics

  • "Enable": No (your preference)

Updates

  • "Branch": develop

  • "Automatic": Off

Save

  • Click "Save".

ii. Media Management

  1. Go to "Settings" -> "Media Management".

  2. Set "Advanced Settings": Shown

Episode Naming

  • "Rename Episodes": Yes

  • "Replace Illegal Characters": Yes

  • Set your preferred naming format (you can use the ones mentioned below).

    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/


    Radarr's Wiki Example

    Example:

    The Series Title 2010 - S01E01 - [HDTV-720P PROPER][DTS 5.1][X264]-RLSGRP.mkv
    

    Standard Episode Format:

    {Series Title} - S{season:00}E{episode:00} - {[QUALITY FULL]}{[MEDIAINFO AUDIOCODEC}{ MEDIAINFO AUDIOCHANNELS]}{[MEDIAINFO VIDEOCODEC]}{-RELEASE GROUP}
    

    Reference: https://github.com/Radarr/Radarr/wiki/Sorting-and-Renaming


    Desimaniac's Naming Preference

    Example:

    /Gotham/Season 01/Gotham.S01E01.1080p.BluRay.x264-DEMAND.mkv
    

    Reference: https://github.com/desimaniac/docs/blob/master/my_sonarr_and_radarr_naming_preferences.md

Folders

  • "Create empty series folders": No

  • "Delete empty folders": No

Importing

  • "Skip Free Space Check": No

  • "Use Hardlinks instead of Copy": No

  • "Import Extra Files": Yes (can be your preference)

  • "Extra File Extensions": srt, sub, idx, rar

File Management

  • "Ignore Deleted Episodes": No (can be your preference)

  • "Download Propers": Yes (can be your preference)

  • "Analyse video files": No

  • "Change File Date": None

  • "Recycle Bin": blank (Rclone deletes are sent to Gdrive trash folder, anyway)

Permissions

  • Set Permissions: No

Save

  • Click "Save".

iii. Download Client

  1. Go to "Settings" -> "Download Client".

  2. Completed Download Handling

    • Enable: Yes

    • Remove: Yes

  3. Failed Download Handling

    • Redownload: Yes

    • Remove: Yes

NZBGet

  1. Add a new "NZBGet" download client.

  2. Add the following:

    1. Name: NZBGet

    2. Enable: Yes

    3. Host: nzbget

    4. Port: 6789

    5. Username: Your NZBGet Username

    6. Password: Your NZBGet Password

    7. Category: sonarr

    8. Use SSL: No

    9. Add Paused: No

  3. Your settings will now look like this:

    Sonarr NZBGet Downloader

  4. Click "Save" to add NZBGet.

ruTorrent

  1. Add a new "rTorrent" download client.

  2. Add the following:

    1. Name: ruTorrent

    2. Enable: Yes

    3. Host: rutorrent

    4. Port: 80

    5. URL Path: RPC2

    6. Use SSL: No

    7. Username: Your ruTorrent Username

    8. Password: Your ruTorrent Password

    9. Category: sonarr

    10. Directory: Leave Blank

  3. Your settings will look like this:

    Sonarr ruTorrent Downloader

  4. Click "Save" to add ruTorrent.

iv. Indexers

  1. Go to "Settings" -> "Indexers".

  2. Set "Advanced Settings": Shown

  3. Add in your your favorite indexers.

NZBHydra2

  1. Click Add Indexer (+).

  2. Select "Newznab".

  3. Add the following:

    1. Name: NZBHydra2

    2. Enable RSS Sync: Your Preference

    3. Enable Search: Your Preference

    4. URL: http://nzbhydra2:5076

    5. API Path: /api

    6. API Key: Your NZBHydra2 API Key

    7. Additional Parameters: Leave Blank

  4. Your settings will look like this:

    Sonarr NZBHydra2

  5. Click "Save" to add NZBHydra2.

Note: The "Test" will keep failing until you add an indexer in NZBHydra2.

Jackett

Note: Each Indexer will need to be added separately.

  1. Click Add Indexer (+)

  2. Select "Torznab".

  3. Add the following:

    1. Name: Indexer's Name

    2. Enable RSS Sync: Your Preference

    3. Enable Search: Your Preference

    4. URL: Indexer's Torznab Feed

    5. API Path: /api

    6. API Key: Your Jackett API Key

    7. Additional Parameters: Leave Blank

  4. Your settings will look like this:

    Sonarr Jackett

  5. Click "Save" to add the indexer.

v. Connect

  1. Go to "Settings" -> "Connect".

  2. Set "Advanced Settings": Shown

Torrent Cleanup

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 Sonarr just imported from, it will delete the imported video file(s), leaving just the .rar/.zip files for seeding.

  1. Add a new "Custom Script".

  2. Add the following:

    1. Name: Torrent Cleanup

    2. On Grab: No

    3. On Download: Yes

    4. On Upgrade: Yes

    5. On Rename:No

    6. Path: /scripts/torrent/TorrentCleanup.py

    7. Arguments:sonarr

  3. The settings will look like this:

    Sonarr Torrent Cleanup Script CloudBox

  4. Click "Save" to add the Torrent Cleanup script.

Plex Autoscan

  1. Add a new "Webhook".

  2. Add the following:

    1. Name: Plex Autoscan

    2. On Grab: No

    3. On Download: Yes

    4. On Upgrade: Yes

    5. On Rename: Yes

    6. Filter Series Tags: Leave Blank

    7. URL: Your Plex Autoscan URL

    8. Method:POST

    9. Username: Leave Blank

    10. Password: Leave Blank

  3. The settings will look like this:

    Sonarr Plex Autoscan

  4. Click "Save" to add Plex Autoscan.

3. TV Path

  1. When you are ready to add your first show to Sonarr, click the "Path" drop-down and select "Add a different path".

  2. Click the blue "Browse" button, select the tv folder, scroll to the bottom, and select "OK".

  3. Click the green "check" button to add the path.

  4. All TV shows added now will have that path set.

4. API Key

This is used during the setup of Plex Requests and Organizr.

  • Go to "Settings" -> "General" -> "Security" -> "API Key".
⚠️ **GitHub.com Fallback** ⚠️