Merge pull request #539 from markbaas/mpris-artist-fix

xesam:artist should be a list
This commit is contained in:
th-ch
2022-01-07 22:11:54 +01:00
committed by GitHub

View File

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