mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
mark as bad if no media files found. Fixes #748
also improved the flow somewhat.
This commit is contained in:
parent
c80a678ded
commit
c5da33a17d
2 changed files with 27 additions and 38 deletions
|
@ -195,6 +195,8 @@ class autoProcessMovie:
|
|||
else:
|
||||
logger.warning("No media files found in directory %s. Processing this as a failed download" % (dirName), section)
|
||||
status = 1
|
||||
if os.environ.has_key('NZBOP_VERSION') and os.environ['NZBOP_VERSION'][0:5] >= '14.0':
|
||||
print('[NZB] MARK=BAD')
|
||||
|
||||
if status == 0:
|
||||
if core.TRANSCODE == 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue