mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 05:01:10 -07:00
don't check failed media when no_extract_failed set. Fixes #1091
This commit is contained in:
parent
697ae370ad
commit
de442852c7
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def isVideoGood(videofile, status):
|
|||
fileNameExt = os.path.basename(videofile)
|
||||
fileName, fileExt = os.path.splitext(fileNameExt)
|
||||
disable = False
|
||||
if fileExt not in core.MEDIACONTAINER or not core.FFPROBE or not core.CHECK_MEDIA or fileExt in ['.iso']:
|
||||
if fileExt not in core.MEDIACONTAINER or not core.FFPROBE or not core.CHECK_MEDIA or fileExt in ['.iso'] or (status > 0 and core.NOEXTRACTFAILED):
|
||||
disable = True
|
||||
else:
|
||||
test_details, res = getVideoDetails(core.TEST_FILE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue