diff --git a/providers/song-info-front.js b/providers/song-info-front.js index ccf0b764..674faeb7 100644 --- a/providers/song-info-front.js +++ b/providers/song-info-front.js @@ -29,7 +29,7 @@ function setup() { } function injectListener() { - document.querySelector('video').addEventListener('loadedmetadata', () => { + document.querySelector('video').addEventListener('loadeddata', () => { const data = api.getPlayerResponse(); ipcRenderer.send("song-info-request", JSON.stringify(data)); });