hoyon / mpv-mpris

MPRIS plugin for mpv
MIT License
608 stars 35 forks source link

Fix Unknown Artist for YouTube videos #76

Closed supershadoe closed 2 years ago

supershadoe commented 2 years ago

According to MPRIS protocol, xesam:artist is a list of strings and not string and thus, when a youtube video is played in mpv, GNOME shell says Received faulty track artist metadata from org.mpris.MediaPlayer2.mpv; expected an array of strings, got <artistname> (string)

So just changed add_metadata_item_string to add_metadata_item_string_list and it works fine when I tested.

hoyon commented 2 years ago

Thanks and apologies for the delay!