feat(album): show OpenSubsonic disc subtitles after the CD heading (#753)

* feat(album): show OpenSubsonic disc subtitles after the CD heading

Multi-disc albums in OpenSubsonic / Navidrome carry a per-disc
subtitle (`discTitles`) — e.g. "Sessions" on CD 3 of a deluxe
edition. AlbumTrackList only rendered "CD N" and dropped the
subtitle, so users couldn't tell two discs apart unless they read
the track names.

* `SubsonicAlbum.discTitles` typed; `getAlbum` forwards it as-is.
* `AlbumTrackList` and `AlbumTrackListMobile` take a discTitleByNum
  map and render the subtitle in the disc separator after "CD N".
* Heading bumped slightly (13 → 15 px, icon 16 → 18 px) so the disc
  separator stays legible next to the new subtitle.

* docs(changelog): note disc subtitles after CD heading (#753)
This commit is contained in:
Frank Stellmacher
2026-05-17 15:29:29 +02:00
committed by GitHub
parent 48c7b8b780
commit 6595c146a3
6 changed files with 43 additions and 2 deletions
+14 -2
View File
@@ -536,7 +536,7 @@ html[data-track-previews-randommix="off"] [data-preview-loc="randomMix"] .pl
gap: var(--space-3);
padding: var(--space-4) var(--space-3) var(--space-2);
font-family: var(--font-display);
font-size: 13px;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
@@ -551,7 +551,19 @@ html[data-track-previews-randommix="off"] [data-preview-loc="randomMix"] .pl
}
.disc-icon {
font-size: 16px;
font-size: 18px;
}
/* Per-disc subtitle (OpenSubsonic `discTitles`), e.g. "Sessions" on a deluxe CD 3. */
.disc-subtitle {
color: var(--text-muted);
font-weight: 600;
letter-spacing: 0.04em;
}
.disc-subtitle::before {
content: '— ';
margin-right: 2px;
color: var(--text-muted);
}