fix(tracks): show the audio bit depth and sample rate in the track listing only for a song

This commit is contained in:
imSp4rky
2026-12-05 14:55:11 -07:00
parent 0d9050e68e
commit 783a2fc185
6 changed files with 59 additions and 18 deletions
+2 -2
View File
@@ -208,8 +208,8 @@ Each subclass adds its own required fields on top of `id_` and `service`:
options, `-a`/`--acodec` and `--abitrate`, and its usual audio sorting. A movie or an
episode uses the same options. `-q`/`--quality` sets the video height only and does not
apply to music. The audio sort ranks a hi-res FLAC above a CD FLAC by `bitrate`. Set
`bit_depth` and `sample_rate` (Hz) on each `Audio` track, and `--list` shows them as
"24-bit / 96 kHz", so do not write that text into `name`. The same two keys in
`bit_depth` and `sample_rate` (Hz) on each `Audio` track, and `--list` shows them for a
`Song` as "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`