added support to handle archives in SickRage. #889

thanks @JoopNL
This commit is contained in:
clinton-hall 2016-02-02 20:47:45 +10:30
commit 77773c38d6

View file

@ -175,6 +175,10 @@ class autoProcessTV:
elif clientAgent == "manual":
logger.warning("No media files found in directory %s to manually process." % (dirName), section)
return [0, ""] # Success (as far as this script is concerned)
elif nzbExtractionBy == "Destination":
logger.info("Check for media files ignored because nzbExtractionBy is set to Destination. Setting status Success.")
status = 0
failed = 0
else:
logger.warning("No media files found in directory %s. Processing this as a failed download" % (dirName), section)
status = 1