better logging and exit if unable to ignore release.

This commit is contained in:
clinton-hall 2014-06-28 14:12:28 +09:30
commit 2f73fa01df

View file

@ -259,6 +259,7 @@ class autoProcessMovie:
logger.postprocess("SUCCESS: %s has been set to ignored ..." % (inputName), section) logger.postprocess("SUCCESS: %s has been set to ignored ..." % (inputName), section)
else: else:
logger.warning("FAILED: Unable to set %s to ignored!" % (inputName), section) logger.warning("FAILED: Unable to set %s to ignored!" % (inputName), section)
return 1
logger.postprocess("Trying to snatch the next highest ranked release.", section) logger.postprocess("Trying to snatch the next highest ranked release.", section)
@ -279,8 +280,7 @@ class autoProcessMovie:
logger.postprocess("SUCCESS: Snatched the next highest release ...", section) logger.postprocess("SUCCESS: Snatched the next highest release ...", section)
return 0 return 0
else: else:
logger.postprocess("SUCCESS: Unable to find a higher ranked release then %s to snatch now. CP will keep searching!" logger.postprocess("SUCCESS: Unable to find a new release to snatch now. CP will keep searching!", section)
% (inputName), section)
return 0 # return 0 #
# Added a releease that was not in the wanted list so confirm rename successful by finding this movie media.list. # Added a releease that was not in the wanted list so confirm rename successful by finding this movie media.list.