From 9c60d80bbdd4b6c886a536d5fe51b377e05dd229 Mon Sep 17 00:00:00 2001 From: MrMeeb Date: Sat, 27 Apr 2024 21:28:16 +0000 Subject: [PATCH] Ensure only DTS-HD MA is picked up Using 'codec_name' would otherwise select anything with DTS, regardless if lossless or lossy --- Tdarr_Plugin_MM1_MrMeeb_Full_Stack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tdarr_Plugin_MM1_MrMeeb_Full_Stack.js b/Tdarr_Plugin_MM1_MrMeeb_Full_Stack.js index 125c8fa..b06e8a7 100644 --- a/Tdarr_Plugin_MM1_MrMeeb_Full_Stack.js +++ b/Tdarr_Plugin_MM1_MrMeeb_Full_Stack.js @@ -291,7 +291,7 @@ const response = { } // Identify if stream is DTS-HD MA - if (file.ffProbeData.streams[i].codec_name.toLowerCase() === 'dts') { + if (file.ffProbeData.streams[i].profile.toLowerCase() === 'dts-hd ma') { // Check if DTS-HD MA has already been handled by a previous run // Assume that it will be the second stream (first audio stream) - it should be, if already handled