use native thumbnail without modifiers

This commit is contained in:
Araxeus
2021-11-12 17:46:40 +02:00
parent 08fdd07969
commit cfe719b6bd
3 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@ module.exports = () => {
// name = "dataloaded" and abit later "dataupdated"
apiEvent.detail.addEventListener('videodatachange', (name, dataEvent) => {
if (name !== 'dataloaded') return;
ipcRenderer.send("song-info-request", JSON.stringify(dataEvent.playerResponse));
video.dispatchEvent(srcChangedEvent);
ipcRenderer.send("song-info-request", JSON.stringify(dataEvent.playerResponse));
})
}, { once: true, passive: true });