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 1/2] 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.`; From 89b7696a97e7ba9197afdac6324654adbaf5d0fd Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Thu, 9 Dec 2021 07:57:34 +0000 Subject: [PATCH 2/2] disable lint for now --- ...Plugin_ER01_Transcode audio and video with HW (PC and Mac).js | 1 + 1 file changed, 1 insertion(+) diff --git a/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js b/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js index 2391e19..a0b048e 100644 --- a/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js +++ b/Community/Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac).js @@ -1,4 +1,5 @@ /* eslint no-plusplus: ["error", { "allowForLoopAfterthoughts": true }] */ +/* eslint-disable */ function details() { return { id: 'Tdarr_Plugin_ER01_Transcode audio and video with HW (PC and Mac)',