fix(remote): proper image when mpris and remote interleave

This commit is contained in:
Kendall Garner
2026-01-18 18:18:36 -08:00
parent 1c6ee88912
commit 04f7c7fdd4
4 changed files with 11 additions and 6 deletions
+4 -1
View File
@@ -620,8 +620,11 @@ ipcMain.on('update-playback', (_event, status: PlayerStatus) => {
broadcast({ data: status, event: 'playback' });
});
ipcMain.on('update-song', (_event, song: QueueSong | undefined) => {
ipcMain.on('update-song', (_event, song: QueueSong | undefined, imageUrl?: null | string) => {
const songChanged = song?.id !== currentState.song?.id;
if (song) {
song.imageUrl = imageUrl || null;
}
currentState.song = song;
if (songChanged) {