fix(#277): Update Tdarr_Plugin_sdd3_Remove_Commentary_Tracks.js

This commit is contained in:
Alexander Gomez 2023-11-03 03:51:21 -04:00 committed by GitHub
parent e6adced839
commit 5ac1b62dbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")