From de442852c7aad6fd1dacd7a3d91067feb9787f81 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Sat, 10 Nov 2018 15:28:12 +1300 Subject: [PATCH] don't check failed media when no_extract_failed set. Fixes #1091 --- core/transcoder/transcoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/transcoder/transcoder.py b/core/transcoder/transcoder.py index 19427aa6..9c61efca 100644 --- a/core/transcoder/transcoder.py +++ b/core/transcoder/transcoder.py @@ -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)