Sonarr version (exact version): 3.0.1.441
Mono version (if Sonarr is not running on Windows): 5.20.1.19
OS: Ubuntu 18.04
Debug logs:
Description of issue:
Autodl-curl-sonarr is not hitting sonarr. My filter starts the script in rtorrent but I cant see any records of it in sonarr. Its like the script cant communicate with sonarr. The ApiKey is added and the ip is changed to match my setup.
I have given the script permissions and edited the script to change url. I am using revers proxy. When running this command inside sonarr container I get a list of download clients. When passing it to the script nothing happens.
/usr/bin/curl -i -H “Accept: application/json” -H “Content-Type: application/json” -H “X-Api-Key: your_api_key_goes_here” -X GET -d ‘{}’ http://ip:8989/sonarr/api/downloadclient
The script:
#!/bin/bash
title=$1
downloadUrl=$2
apiKey=$3
date=$(date -u +"%Y-%m-%d %H:%M:%SZ")
{
/usr/bin/curl -i -H “Accept: application/json” -H “Content-Type: application/json” -H “X-Api-Key: $apiKey” -X POST -d ‘{“title”:"’"$title"’",“downloadUrl”:"’"$downloadUrl"’",“downloadProtocol”:“torrent”,“publishDate”:"’"$date"’"}’ http://ip:8989/sonarr/api/release/push
} &> /dev/null
autodl filter:
upload-command = /config/script/autodl-curl-sonarr.sh
upload-args = “$(TorrentName)” “$(TorrentUrl)” ApiKey
upload-type = exec