mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
better logging and exit if unable to ignore release.
This commit is contained in:
parent
c039568253
commit
2f73fa01df
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue