From 207ef9d42225dfbf3db8a0239df3fcbfc0079863 Mon Sep 17 00:00:00 2001 From: controlol <46456214+controlol@users.noreply.github.com> Date: Fri, 7 Feb 2020 01:05:07 +0100 Subject: [PATCH] updated link --- Community/Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js b/Community/Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js index 4631388..a9e4568 100644 --- a/Community/Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js +++ b/Community/Tdarr_Plugin_e5c3_CnT_Keep_Preferred_Audio.js @@ -30,8 +30,10 @@ function plugin(file, librarySettings, inputs, otherArguments) { } else { var languages = inputs.languages.split(','); //these languages should be kept, named according to ISO 639-2 language scheme } - if (inputs.special !== null) { + if (inputs.special !== "") { var special = inputs.special.split(','); + } else { + var special = ``; } if (languages.length >= special.length) { var length = languages.length;