mpris overhaul

This commit is contained in:
Core 2022-07-12 21:26:05 +01:00
parent 835c2bddd5
commit 12fee3df36
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
5 changed files with 84 additions and 93 deletions

View file

@ -76,8 +76,8 @@ ipcMain.on("nowPlayingItemDidChange", (_event, attributes) => {
CiderPlug.callPlugins("onNowPlayingItemDidChange", attributes);
});
ipcMain.on("nowPlayingItemDidChangeLastFM", (_event, attributes) => {
CiderPlug.callPlugin("lastfm.js", "nowPlayingItemDidChangeLastFM", attributes);
ipcMain.on("updatePlaybackProgress", (_event, attributes) => {
CiderPlug.callPlugins("updatePlaybackProgress", attributes);
})
app.on("before-quit", () => {