mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 15:38:19 -07:00
Update Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js
npm install iso-639-2@2.0.0 because version 3 does not work with require().
This commit is contained in:
parent
93217a09a9
commit
8c3de5ceca
1 changed files with 1 additions and 1 deletions
|
|
@ -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.`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue