Catch correction

make-only-subtitle-default
HaveAGitGat 6 years ago committed by GitHub
parent c41b441409
commit 77c9711bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,6 +70,10 @@ function plugin(file) {
AC3CommentaryCount++ AC3CommentaryCount++
} }
} catch (err) { }
try {
if(file.ffProbeData.streams[i].codec_type.toLowerCase() == "subtitle"){ if(file.ffProbeData.streams[i].codec_type.toLowerCase() == "subtitle"){
@ -78,6 +82,8 @@ function plugin(file) {
} }
} catch (err) { } } catch (err) { }
} }

Loading…
Cancel
Save