From bb0f81625b63d779e60ef2af8d0517c890f92f26 Mon Sep 17 00:00:00 2001 From: Rick Meijer Date: Wed, 17 Feb 2021 11:10:32 +0100 Subject: [PATCH] Add trailing ? for subtitles --- Community/Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js b/Community/Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js index 6a10321..9896e6d 100644 --- a/Community/Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js +++ b/Community/Tdarr_Plugin_henk_Add_Specific_Audio_Codec.js @@ -106,7 +106,7 @@ function plugin(file, librarySettings, inputs) { response.processFile = true; response.container = `.${file.container}`; response.reQueueAfter = true; - response.preset += ' -map 0:s '; + response.preset += ' -map 0:s? '; } else { response.infoLog += '☑File doesn\'t contain audio tracks with the specified codec.\n';