mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
feat: rename IPC
This commit is contained in:
@ -68,9 +68,9 @@ export default createPlugin({
|
||||
};
|
||||
|
||||
ipc.on('ytmd:player-api-loaded', () =>
|
||||
ipc.send('setupTimeChangedListener'),
|
||||
ipc.send('ytmd:setup-time-changed-listener'),
|
||||
);
|
||||
ipc.on('timeChanged', (t: number) => {
|
||||
ipc.on('ytmd:time-changed', (t: number) => {
|
||||
if (!this.data.title) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user