[CR] Fix subtitles being named undefined

Fixes subtitles being named undefined when using novids and noaudio together
This commit is contained in:
AnimeDL 2024-03-23 09:47:26 -07:00
parent 421cd5fcee
commit aae69fa2a1

View file

@ -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) {