mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
use native thumbnail without modifiers
This commit is contained in:
@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user