Save uncommitted changes
Build / Lint & Test (push) Successful in 22s

This commit is contained in:
PickleRick committed 2026-09-21 10:42:08 +02:00
1 parent 3f0b38d513
commit a8c4a81141
8 files changed
+271 -19

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@
* test4-subtitles.js
* Validates: extractSubtitlesAndOcr produces correctly named SRT files.
* Source: MKV with 2 ITA SRT streams (forced + SDH).
* Expected: .ita.forced.srt and .ita.hearing_impaired.srt in source dir.
* Expected: .ita.forced.default.srt and .ita.sdh.srt in source dir.
*/
const path = require('path');
@@ -27,7 +27,7 @@ async function run() {
await subPlugin(args);
// Check that forced SRT was created
const forcedSrt = path.join(SOURCE_DIR, `${BASE_NAME}.ita.forced.srt`);
const forcedSrt = path.join(SOURCE_DIR, `${BASE_NAME}.ita.forced.default.srt`);
const sdhSrt = path.join(SOURCE_DIR, `${BASE_NAME}.ita.sdh.srt`);
console.log(' Checking for:', path.basename(forcedSrt));