From 8b65f1d6e408bc110f5c412b0b1a151194062329 Mon Sep 17 00:00:00 2001 From: TC Date: Fri, 6 Oct 2023 21:10:58 +0200 Subject: [PATCH] add player method "open" for mpris #1155 --- plugins/shortcuts/mpris.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/shortcuts/mpris.ts b/plugins/shortcuts/mpris.ts index 5c7d3dad..df299e98 100644 --- a/plugins/shortcuts/mpris.ts +++ b/plugins/shortcuts/mpris.ts @@ -110,6 +110,7 @@ function registerMPRIS(win: BrowserWindow) { shuffle(); } }); + player.on('open', (args: { uri: string}) => { win.loadURL(args.uri); }); let mprisVolNewer = false; let autoUpdate = false;