mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
parent
175ffbc71f
commit
3c8f9f2d46
1 changed files with 4 additions and 0 deletions
|
|
@ -1217,6 +1217,10 @@ export default class Hidive implements ServiceClass {
|
|||
chosenAudios.push(audioByLanguage[dubLang][chosenAudioQuality]);
|
||||
}
|
||||
}
|
||||
if (chosenAudios.length == 0) {
|
||||
console.error(`Chosen audio language(s) does not exist for episode ${selectedEpisode.episodeInformation.episodeNumber}`);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const fileName = parseFileName(options.fileName, variables, options.numbers, options.override).join(path.sep);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue