Merge pull request #526 from DoNotResuscitate/patch-1

fix(#277): Update Tdarr_Plugin_sdd3_Remove_Commentary_Tracks.js
make-only-subtitle-default
HaveAGitGat 2 years ago committed by GitHub
commit baef887dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save