fix(#277): Update Tdarr_Plugin_sdd3_Remove_Commentary_Tracks.js

make-only-subtitle-default
Alexander Gomez 2 years ago committed by GitHub
parent e6adced839
commit 5ac1b62dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,6 +56,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
if ( if (
file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" && file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" &&
file.ffProbeData.streams[i].disposition.comment == 1 || file.ffProbeData.streams[i].disposition.comment == 1 ||
file.ffProbeData.streams[i].codec_type.toLowerCase() == "audio" &&
file.ffProbeData.streams[i].tags.title file.ffProbeData.streams[i].tags.title
.toLowerCase() .toLowerCase()
.includes("commentary") .includes("commentary")

Loading…
Cancel
Save