forked from quickshell/quickshell
service/mpris!: convert trackArtists from list<string> to string
Most people treat it as a string already, which breaks in Qt 6.8, and I have not seen a meaningful multi-artist response.
This commit is contained in:
parent
dbaaf55eb6
commit
8450543e09
2 changed files with 3 additions and 3 deletions
|
@ -301,7 +301,7 @@ void MprisPlayer::onMetadataChanged() {
|
|||
auto trackTitleChanged = this->setTrackTitle(trackTitle.isNull() ? "Unknown Track" : trackTitle);
|
||||
|
||||
auto trackArtists = this->pMetadata.get().value("xesam:artist").value<QVector<QString>>();
|
||||
auto trackArtistsChanged = this->setTrackArtists(trackArtists);
|
||||
auto trackArtistsChanged = this->setTrackArtists(trackArtists.join(", "));
|
||||
|
||||
auto trackAlbum = this->pMetadata.get().value("xesam:album").toString();
|
||||
auto trackAlbumChanged = this->setTrackAlbum(trackAlbum.isNull() ? "Unknown Album" : trackAlbum);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue