mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
rework songInfo pause listener
This commit is contained in:
@ -13,7 +13,7 @@ module.exports = (win, options) => {
|
||||
...options,
|
||||
};
|
||||
|
||||
ipcMain.on("song-info-request", async (_, data) => {
|
||||
ipcMain.on("video-src-changed", async (_, data) => {
|
||||
videoID = JSON.parse(data)?.videoDetails?.videoId;
|
||||
const segments = await fetchSegments(apiURL, categories);
|
||||
win.webContents.send("sponsorblock-skip", segments);
|
||||
|
||||
Reference in New Issue
Block a user