This commit is contained in:
vapormusic 2022-05-21 14:19:37 +07:00
commit 85820713d3
3 changed files with 12 additions and 6 deletions

View file

@ -818,7 +818,13 @@ const app = new Vue({
CiderAudio.audioNodes.gainNode.gain.value = gain
} catch (e) { }
}
} catch (e) { ipcRenderer.send('SoundCheckTag', event, tag); } // brute force until it works
} catch (e) {
try { ipcRenderer.send('SoundCheckTag', event, tag); }
catch (e) {
try {ipcRenderer.send('SoundCheckTag', event, tag);}
catch (e) {console.log("[Cider][MaikiwiSoundCheck] Error [Gave up after 3 consecutive attempts]: " + e)}
}
} // brute force until it works
})
ipcRenderer.on('play', function (_event, mode, id) {