allow nzbget or sabnzbd to report failure.

This commit is contained in:
clinton-hall 2014-08-16 18:08:36 +09:30
commit 661947d46c
3 changed files with 9 additions and 5 deletions

View file

@ -205,7 +205,7 @@ class autoProcessTV:
logger.postprocess("SUCCESS: The download succeeded, sending a post-process request", section)
else:
if failureLink:
reportNzb(failureLink)
reportNzb(failureLink, clientAgent)
if fork in nzbtomedia.SICKBEARD_FAILED or section == "NzbDrone":
logger.postprocess("FAILED: The download failed. Sending 'failed' process request to %s branch" % (fork), section)
else: