From aae69fa2a18014d28071b26da7d59b240867702f Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Sat, 23 Mar 2024 09:47:26 -0700 Subject: [PATCH] [CR] Fix subtitles being named undefined Fixes subtitles being named undefined when using novids and noaudio together --- crunchy.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crunchy.ts b/crunchy.ts index fddd838..29674cf 100644 --- a/crunchy.ts +++ b/crunchy.ts @@ -1936,6 +1936,8 @@ export default class Crunchy implements ServiceClass { console.info('Downloading skipped!'); } } + } else if (options.novids && options.noaudio) { + fileName = parseFileName(options.fileName, variables, options.numbers, options.override).join(path.sep); } if (compiledChapters.length > 0) {