feat(music): redraw the album header with the quality of the first song's chosen audio track

This commit is contained in:
imSp4rky
2026-12-02 17:44:15 -07:00
parent 0c93f1dc63
commit a4bc8b7efa
4 changed files with 198 additions and 14 deletions
+5
View File
@@ -233,6 +233,11 @@ Each subclass adds its own required fields on top of `id_` and `service`:
"24-bit / 96 kHz", so do not write that text into `name`. The same two keys in
`Song.data` give the Hi-Res badge in the release listing.
When the first song's `Song.data` has no bit depth or sample rate, or a lower one, `dl`
copies them from the best selected lossless track (FLAC, ALAC or PCM) of the first song.
If that changes the Quality row, `dl` shows the release header again. A lossy track
changes nothing.
A `Song` is an ordinary `Title` on the one generic download path. unshackle has no
music-specific service API and no separate music download loop. The
`GROUP_AUDIO_DOWNLOADS` flag, `get_music_track_options` and `get_music_collection_label`