This commit is contained in:
clinton-hall 2014-08-01 22:35:53 +09:30
commit 22342a4c31

View file

@ -246,11 +246,12 @@ class autoProcessMovie:
logger.postprocess("Deleting failed files and folder %s" % dirName, section)
rmDir(dirName)
if not download_id:
if not release_id and not media_id:
logger.error("Could not find a downloaded movie in the database matching %s, exiting!" % inputName,
section)
return [1, "%s: Failed to post-process - Failed download not found in %s" % (section, section) ]
if release_id:
logger.postprocess("Setting failed release %s to ignored ..." % (inputName), section)
url = baseURL + "/release.ignore"