Skip to content
Script to use as upload-command for autodl-irssi to post to Sonarr
Branch: master
Clone or download
Latest commit 7a204de Jan 11, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
autodl-curl-sonarr.sh

README.md

autodl-curl-sonarr

Script to use as upload-command for autodl-irssi to post torrents to Sonarr

Obviously you will need autodl-irssi (https://github.com/autodl-community) and Sonarr (https://sonarr.tv/) installed for this to work. You will also need curl.

Download the file autodl-curl-sonarr.sh and put it wherever you want. You may need to edit the last line of the script with the address for Sonarr. By default it is "http://localhost:8989/api/release/push". See https://github.com/Sonarr/Sonarr/wiki/API. Make the script executable for the user running autodl-irssi

Set up your autodl.cfg to include something like this, either in the global [options] header or for specific [filter]s as you see fit. Update the path to the script and YOUR_SONARR_API_KEY to the values for your system:

upload-type = exec
upload-command = /path/to/autodl-curl-sonarr.sh
upload-args = "$(TorrentName)" "$(TorrentUrl)" YOUR_SONARR_API_KEY

You can set up autodl-irssi filters to simply match everything and let Sonarr decide what it should download based upon your Sonarr configuration.

You can’t perform that action at this time.