From 9e9fb6eb764e0a36e40b8901b4956f25839c881c Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Sun, 17 Mar 2024 23:19:26 -0700 Subject: [PATCH] [HD] Fix bin cfg sometimes not being loaded --- hidive.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hidive.ts b/hidive.ts index f36ccc6..a695850 100644 --- a/hidive.ts +++ b/hidive.ts @@ -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],