cristianmiranda / sonarr-sub-downloader

Sonarr custom post processor script for handling subtitle download

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonarr-sub-downloader

Sonarr & Radarr custom post processor script for handling subtitle download.

Summary

This project contains 2 main bash scripts for handling Sonarr subtitle download after a TV show has been downloaded.

The script sub-downloader.sh works perfectly as a Custom Post Processor Script for Sonarr and Radarr.

The script search-wanted.sh` looks for those subtitles that were not found in previous executions of the first one.

Behind the scenes, both scripts uses subliminal as subtitle downloader engine.

Prerequisites

  • Install the subliminal plugin
    • I highly recommend follow the author steps for install subliminal, but you can execute:
    sudo pip install -U subliminal

How to setup the script in Sonarr

  1. Clone this repo
  2. Open Sonarr, go to: <your-sonar-host>:<port>/settings/connect
  3. Click in the '+' => Custom Script
  4. Choose a name for your script, recommended: "Subs Downloader"
  5. Enable only "On Download"
  6. Choose the path in which the script sub-downloader has been cloned.
  7. The script requires downloader.properties to be present inside the repo. There's a template for you to copy. Example:
# Comma separated (e.g: es,en,it)
languages=es

# Credentials
opensubtitles.credentials=myUsern4m3 coolPassword
addic7ed.credentials=anotherUsername anotherPassword
legendastv.credentials=
  1. How the configuration should look like

alt example

How to enable the not found searcher to run periodically

  1. Run the installation script

      ./wanted/install.sh
    
  2. Check that the crontab has been setup correctly

      crontab -l
    

License

MIT

Developer Information

Ezequiel Bergamaschi - ezequielbergamaschi@gmail.com

About

Sonarr custom post processor script for handling subtitle download

License:MIT License


Languages

Language:Shell 100.0%