diff --git a/src/main.dev.js b/src/main.dev.js index 464cf99..3cd3281 100644 --- a/src/main.dev.js +++ b/src/main.dev.js @@ -249,7 +249,7 @@ if (isLinux()) { } mprisPlayer.metadata = { - 'mpris:trackid': arg?.id ? mprisPlayer.objectPath(`track/${arg.id?.replace('-', '')}`) : '', + 'mpris:trackid': arg?.id ? mprisPlayer.objectPath(`track/${arg?.id?.replace('-', '')}`) : '', 'mpris:length': arg.duration ? Math.round((arg.duration || 0) * 1e6) : null, 'mpris:artUrl': arg.image.includes('placeholder') ? null : arg.image, 'xesam:title': arg.title || null,