Tdarr_Plugins
Tdarr_Plugins copied to clipboard
Add subtitles to MKV files
hey iam trying to use the plugin to add the subtitles to my mkv files.
When I start I get this error:
The system cannot find the path specified.
I tried to manually install the iso-3 and hardcode the path then I got this:
Pre-processing - Add subtitles to MKV files☒Plugin error! Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\wielu\Tdarr_Updater\subtitle_3iso\iso-639-2\index.js
require() of ES modules is not supported.
require() of C:\Users\wielu\Tdarr_Updater\subtitle_3iso\iso-639-2\index.js from C:\Users\wielu\Tdarr_Updater\Tdarr_Node\assets\app\plugins\Local\Tdarr_Plugin_e5c3_CnT_Add_Subtitles.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\Users\wielu\Tdarr_Updater\subtitle_3iso\iso-639-2\package.json.
I tried to remove the type: module in the iso3 package but then I got this error:
Pre-processing - Add subtitles to MKV files☒Plugin error! SyntaxError: Unexpected token 'export'
does anyone know how to solve my problem? Sorry I am not used to Java so I just tried what I could find on google.
hi , did you find a solution? the plugin is still broke in 2.00.18
The plugin is not working for me as well
Pre-processing - Add subtitles to MKV files☒Plugin error! Error: Command failed: cd undefined/Tdarr
npm install [email protected]
The system cannot find the path specified.
Still getting this issue 2.00.20
Pre-processing - Add subtitles to MKV files☒Plugin error! Error: Command failed: cd undefined/Tdarr
npm install [email protected]
/bin/sh: 1: cd: can't cd to undefined/Tdarr
/bin/sh: 2: npm: not found