added NZBDrone fork test and FFProbe path check. fixes #367

This commit is contained in:
clinton-hall 2014-05-03 20:04:15 +09:30
commit 37a8b5aca1
3 changed files with 34 additions and 8 deletions

View file

@ -107,7 +107,7 @@ class autoProcessTV:
if status == 0:
logger.postprocess("SUCCESS: The download succeeded, sending a post-process request", section)
else:
if fork in nzbtomedia.SICKBEARD_FAILED:
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:
logger.postprocess("FAILED: The download failed. %s branch does not handle failed downloads. Nothing to process" % (fork), section)