[HD] Fix GUI
Some checks failed
auto-documentation / documentation (push) Has been cancelled
build and push docker image / build-node (push) Has been cancelled
Style and build test / eslint (push) Has been cancelled
Style and build test / test (push) Has been cancelled

This commit is contained in:
AnimeDL 2025-02-12 10:06:53 -08:00
parent 267480c1ba
commit 559dfe11de

View file

@ -660,15 +660,15 @@ export default class Hidive implements ServiceClass {
console.error('No valid Widevine or PlayReady CDM detected. Please ensure a supported and functional CDM is installed.');
return undefined;
}
if (!this.cfg.bin.ffmpeg)
this.cfg.bin = await yamlCfg.loadBinCfg();
if (!this.cfg.bin.mp4decrypt && !this.cfg.bin.shaka) {
console.error('Neither Shaka nor MP4Decrypt found. Please ensure at least one of them is installed.');
return undefined;
}
if (!this.cfg.bin.ffmpeg)
this.cfg.bin = await yamlCfg.loadBinCfg();
variables.push(...([
['title', selectedEpisode.title, true],
['episode', selectedEpisode.episodeInformation.episodeNumber, false],