Skip to main content

Automate TV shows downloads with Sonarr

Sonarr logo I want to introduce a great app called Sonarr that can automatically download TV shows and organize it into folders. If you are tired to manually seek every week each episode on torrent or usenet networks, this app is for you !

It can be completed with a Plex or Emby server to stream shows and access them from any device.

I will cover how to install Sonarr and do a basic configuration:

1) Install Sonarr

(Tested on Debian 8)

Add Sonarr repository:

Install Sonarr:

Create a user for Sonarr and set it as the owner of the files and folders:

To launch Sonarr on startup, login as the user “sonarr” and edit cronjob:

to add the following line

Finally, reboot the server or launch Sonarr manually:

and you should be able to access the web interface on http://server-ip:8989


2) Basic Sonarr configuration

You may get the following error messages in the system tab:

Sonarr errors

First go to Settings / Indexers and add an indexer (you can test with Kickass torrent). If you don’t find a provider in the default ones, have a look at Jackett (and contribute to it if you can, they need help !) to add more torrent / usenet providers.

Then, go to Settings / Download client and configure your favourite download software. You will need to install one manually which I don’t cover in the article. Have a look here for advice on Torrents clients, for Usenet I like NZBGet .

Finally, go to Series and start adding your shows ! The first time Sonarr will need you to set a path to store Shows. It will use it to copy completed files from the Usenet / Torrent client download folder to the one you set in the path.

If Sonarr and the download client are not on the same machine, you can use a NFS mount but make sure Sonarr user has read & write permissions on the shared folders 😉

You can then point your media center solution to the Sonarr folder and use it to stream videos or automate subtitles download. Emby is great for that. One tip is make sure the files are not renamed by Sonarr when moved from the download folder so Emby picks the subtitle version that matches your video release.

That’s pretty much it so good luck and enjoy !

Leave a Reply

Your email address will not be published. Required fields are marked *