mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
Merge pull request #958 from JoopNL/nightly
Report Downloader failures to SickRage
This commit is contained in:
commit
ff61b5d573
1 changed files with 9 additions and 3 deletions
|
@ -176,9 +176,15 @@ class autoProcessTV:
|
|||
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
|
||||
logger.info("Check for media files ignored because nzbExtractionBy is set to Destination.")
|
||||
if failed == "0":
|
||||
logger.info("Setting Status Success.")
|
||||
status = 0
|
||||
failed = 0
|
||||
else:
|
||||
logger.info("Downloader reported an error during download or verification. Processing this as a failed download.")
|
||||
status = 1
|
||||
failed = 1
|
||||
else:
|
||||
logger.warning("No media files found in directory %s. Processing this as a failed download" % (dirName), section)
|
||||
status = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue