[HD] Fix bin cfg sometimes not being loaded

This commit is contained in:
AnimeDL 2024-03-17 23:19:26 -07:00
parent 1e09625b85
commit 9e9fb6eb76

View file

@ -1120,6 +1120,9 @@ export default class Hidive implements ServiceClass {
const chosenFontSize = options.originalFontSize ? undefined : options.fontSize;
let encryptionKeys: KeyContainer[] | undefined = undefined;
if (!canDecrypt) console.warn('Decryption not enabled!');
if (!this.cfg.bin.ffmpeg)
this.cfg.bin = await yamlCfg.loadBinCfg();
variables.push(...([
['title', selectedEpisode.title, true],