don't update plex on failed. Fixes #846

This commit is contained in:
clinton-hall 2015-10-11 09:53:03 +10:30
commit 651650f83b
4 changed files with 6 additions and 1 deletions

View file

@ -256,6 +256,7 @@ class autoProcessMovie:
return [1, "%s: Failed to post-process - Server did not return success" % (section) ]
else:
core.FAILED = True
logger.postprocess("FAILED DOWNLOAD DETECTED FOR %s" % (inputName), section)
if failureLink:
reportNzb(failureLink, clientAgent)

View file

@ -229,6 +229,7 @@ class autoProcessTV:
if status == 0:
logger.postprocess("SUCCESS: The download succeeded, sending a post-process request", section)
else:
core.FAILED = True
if failureLink:
reportNzb(failureLink, clientAgent)
if fork in core.SICKBEARD_FAILED: