fixed Radarr default port and assigned release before call. Fixes #1170

This commit is contained in:
clinton-hall 2017-02-23 12:54:06 +10:30
parent d7370f533f
commit 7d4079432c
4 changed files with 5 additions and 3 deletions

View file

@ -76,7 +76,7 @@
enabled = 0 enabled = 0
apikey = apikey =
host = localhost host = localhost
port = 8989 port = 7878
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ###### ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
web_root = web_root =
ssl = 0 ssl = 0

View file

@ -139,6 +139,8 @@ class autoProcessMovie(object):
elif server_responding(baseURL): elif server_responding(baseURL):
if section == "CouchPotato": if section == "CouchPotato":
release = self.get_release(baseURL, imdbid, download_id) release = self.get_release(baseURL, imdbid, download_id)
else:
release = None
else: else:
logger.error("Server did not respond. Exiting", section) logger.error("Server did not respond. Exiting", section)
return [1, "{0}: Failed to post-process - {1} did not respond.".format(section, section)] return [1, "{0}: Failed to post-process - {1} did not respond.".format(section, section)]

View file

@ -96,7 +96,7 @@
#rahost=localhost #rahost=localhost
# Radarr port. # Radarr port.
#raport=8989 #raport=7878
# Radarr API key. # Radarr API key.
#raapikey= #raapikey=

View file

@ -48,7 +48,7 @@
#rahost=localhost #rahost=localhost
# Radarr port. # Radarr port.
#raport=8989 #raport=7878
# Radarr API key. # Radarr API key.
#raapikey= #raapikey=