122 lines
4.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Sonarr"
date: 2023-01-10T19:06:43-03:00
draft: false
weight: 4
summary: 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.
---
# What is Sonarr?
From their [wiki](https://wiki.servarr.com/sonarr):
> 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.
In YAMS, Sonarr is going to manage all our TV Shows, download them, sort them, etc.
## Initial configuration
In your browser, go to [http://{your-ip-address}:8989/](). You'll see the authentication configuration page.
- Select "Forms (Login Page)" as the "Authentication Method".
- In "Authentication Required" select "Disabled for Local Addresses".
Fill it in with your information and click on save:
[![sonarr-18](/pics/sonarr-18.png)](/pics/sonarr-18.png)
Then you'll see Sonarr's empty page. You'll also notice you have 3 messages on the system tab, but we'll deal with them later.
[![sonarr-1](/pics/sonarr-1.png)](/pics/sonarr-1.png)
### Media management
First, go to "Settings" and then "Media management". On this screen:
- Click on "Show Advanced".
- Check the "Rename Episodes" box.
- Change "Standard Episode Format" to `{Series Title} - S{season:00}E{episode:00} - {Episode Title}`
- Change "Daily Episode Format" to `{Series Title} - {Air-Date} - {Episode Title}`
- Change "Anime Episode Format" to `{Series Title} - S{season:00}E{episode:00} - {Episode Title}`
- Change "Series Folder Format" to `{Series TitleYear}`
[![sonarr-2](/pics/sonarr-2.png)](/pics/sonarr-2.png)
At the bottom of the same screen, go to "Root folders" and click on "Add Root Folder".
[![sonarr-3](/pics/sonarr-3.png)](/pics/sonarr-3.png)
And add the `/data/tvshows/` folder
[![sonarr-4](/pics/sonarr-4.png)](/pics/sonarr-4.png)
**Note:** This is NOT on your filesystem! The `/data/tvshows/` folder exists inside the `docker` environment and maps to your server `/mediafolder/media/tvshows/` folder!
Finally, click on "Save Changes".
[![sonarr-5](/pics/sonarr-5.png)](/pics/sonarr-5.png)
### Download Clients
Here, you'll add the download clients for Sonarr. That's where you'll tie in Sonarr with [qBittorrent](/config/qbittorrent) and [SABnzbd](/config/sabnzbd).
#### qBittorrent
In "Settings", go to "Download Clients" and click on the button.
[![sonarr-13](/pics/sonarr-13.png)](/pics/sonarr-13.png)
On the "Add Download Client" screen, click on "qBittorrent".
[![sonarr-14](/pics/sonarr-14.png)](/pics/sonarr-14.png)
- In Name, add the name of your download client (qBittorrent).
- On Host, add your server IP address (in my case, `192.168.0.169`).
- On Port, change it to 8081.
- On Username, add `admin`.
- On Password, add `your-qbittorrent-password`.
[![sonarr-15](/pics/sonarr-15.png)](/pics/sonarr-15.png)
At the bottom, you can click on "Test" and if everything is OK you should see a ✅
[![sonarr-10](/pics/sonarr-10.png)](/pics/sonarr-10.png)
[![sonarr-11](/pics/sonarr-11.png)](/pics/sonarr-11.png)
If everything is fine, click on "Save". You should see your download client added to the "Download Clients" page now!
[![sonarr-16](/pics/sonarr-16.png)](/pics/sonarr-16.png)
#### SABnzbd
In "Settings", go to "Download Clients" and click on the button.
[![sonarr-13](/pics/sonarr-13.png)](/pics/sonarr-13.png)
On the "Add Download Client" screen, scroll down and click on "SABnzbd".
[![sonarr-19](/pics/sonarr-19.png)](/pics/sonarr-19.png)
- In Name, add the name of your download client (SABnzbd).
- On Host, add your server IP address (in my case, `192.168.0.169`).
- On Port, change it to 8080.
- On API Key, enter your SABnzbd API key.
You can find your SABnzbd API key here: [Getting your API key for Sonarr and Radarr](/config/sabnzbd/#getting-your-api-key-for-sonarr-and-radarr)
[![sonarr-20](/pics/sonarr-20.png)](/pics/sonarr-20.png)
At the bottom, you can click on "Test" and if everything is OK you should see a ✅
[![sonarr-10](/pics/sonarr-10.png)](/pics/sonarr-10.png)
[![sonarr-11](/pics/sonarr-11.png)](/pics/sonarr-11.png)
If everything is fine, click on "Save". You should see your download client added to the "Download Clients" page now!
[![sonarr-21](/pics/sonarr-21.png)](/pics/sonarr-21.png)
## Moving forward!
That's it! Now we can continue with [Prowlarr](/config/prowlarr).
## Do you want a more in depth configuration?
If you want a more in depth configuration, I recommend you check the [TRaSH Guide for Sonarr](https://trash-guides.info/Sonarr/).