feat(qt): featured performers as a comma-separated list after the main artist

cc
This commit is contained in:
vicrodh committed 2026-09-13 08:20:44 -06:00
1 parent 9174b33b1b
commit 04e5c50045
10 files changed
+37 -36

No files matched your search

+4 -3
View File
@@ -980,11 +980,12 @@ Rectangle {
Text {
width: parent.width
visible: (root.item.artist || "") !== ""
// "feat." is a music convention, not a translated word. Local /
// media-server rows carry no `featured` and stay as they are.
// Main artist first, then the featured performers, one comma
// separated list. Local / media-server rows carry no
// `featured` and stay as they are.
text: (root.item.artist || "")
+ (root.showFeaturedArtists && (root.item.featured || "") !== ""
? " feat. " + root.item.featured : "")
? ", " + root.item.featured : "")
color: root.artistLink && root.item.artistId && artistLinkArea.containsMouse
? theme.textPrimary : theme.textMuted
font.pixelSize: 12
@@ -336,7 +336,7 @@ Column {
}
SettingRow { kioskHost: root.kioskHost;
label: QbzSession.tr("Show featured artists in track rows", QbzSession.trRev)
description: QbzSession.tr("Append \"feat. …\" with the track's featured performers to the artist line of Qobuz track rows. Off by default.", QbzSession.trRev)
description: QbzSession.tr("List the track's featured performers after the main artist on Qobuz track rows, comma separated. Off by default.", QbzSession.trRev)
QbzToggle { kioskHost: root.kioskHost;
checked: root.doc.showFeaturedArtists === true
onToggled: function (v) { QbzBridge.settingsBool("show-featured-artists", v) }