From c32dc46f1f4c9b48fa696f0ecb6ee5c4301d6ddd Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Sat, 16 Nov 2019 19:44:56 +0000 Subject: [PATCH] Remove redundant mapping --- Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js b/Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js index f579cb9..fb14a4e 100644 --- a/Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js +++ b/Community/Tdarr_Plugin_fd5T_Sparticus_4K_AC3_No_Subs.js @@ -136,7 +136,7 @@ function plugin(file) { if (hasOnlyAC3TrackCommentaries && hasSubs) { response.infoLog += "☒File has no AC3 main track (has AC3 commentary) and has subs \n" - response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels + response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels response.reQueueAfter = true; response.processFile = true; return response @@ -144,7 +144,7 @@ function plugin(file) { if (hasNoAC3Track && hasSubs) { response.infoLog += "☒File has no AC3 main track and has subs \n" - response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:s? -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels + response.preset = ',-sn -map 0:v -map 0:a:0 -map 0:a -map 0:d? -c copy -c:a:0 ac3 -ac ' + channels response.reQueueAfter = true; response.processFile = true; return response