mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 02:35:54 -07:00
ffProbe's disposition comment flag (#269)
Checks the disposition comment flag for positive commentary
This commit is contained in:
parent
84ba82bcf1
commit
38c37509ba
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
|
||||||
try {
|
try {
|
||||||
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].tags.title
|
file.ffProbeData.streams[i].tags.title
|
||||||
.toLowerCase()
|
.toLowerCase()
|
||||||
.includes("commentary")
|
.includes("commentary")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue