From 8c3de5ceca291b20d39f9ec4411b96862f406591 Mon Sep 17 00:00:00 2001 From: wieluk <46672054+wieluk@users.noreply.github.com> Date: Mon, 4 Oct 2021 20:37:20 +0200 Subject: [PATCH] Update Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js npm install iso-639-2@2.0.0 because version 3 does not work with require(). --- Community/Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Community/Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js b/Community/Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js index 933343a..6c295e0 100644 --- a/Community/Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js +++ b/Community/Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js @@ -48,7 +48,7 @@ function plugin(file, librarySettings, inputs, otherArguments) { if ( !fs.existsSync(`${otherArguments.homePath}/Tdarr/node_modules/iso-639-2`) ) { - execSync(`cd ${otherArguments.homePath}/Tdarr \n npm install iso-639-2`); + execSync(`cd ${otherArguments.homePath}/Tdarr \n npm install iso-639-2@2.0.0`); } } else { response.infoLog = `Please take a look at the input options\n A extra nodemodule is required.`;