xesam:artist should be a list

This commit is contained in:
Mark Baas
2022-01-04 15:18:19 +01:00
parent d60069555e
commit 75999e9dcf

View File

@ -67,7 +67,7 @@ function registerMPRIS(win) {
'mpris:length': secToMicro(songInfo.songDuration), 'mpris:length': secToMicro(songInfo.songDuration),
'mpris:artUrl': songInfo.imageSrc, 'mpris:artUrl': songInfo.imageSrc,
'xesam:title': songInfo.title, 'xesam:title': songInfo.title,
'xesam:artist': songInfo.artist, 'xesam:artist': [songInfo.artist],
'mpris:trackid': '/' 'mpris:trackid': '/'
}; };
if (songInfo.album) data['xesam:album'] = songInfo.album; if (songInfo.album) data['xesam:album'] = songInfo.album;