navidrome/ui
Daniel Banariba c4e805d049 feat(ui): show sample rate and bit depth for lossless tracks
The Quality column appends the bitrate for lossy formats, so `MP3 320`
tells you what you are listening to. Lossless formats have no meaningful
bitrate to append, so they all render as a bare `FLAC`, and a CD rip is
indistinguishable from a 96/24 remaster sitting next to it in the list.

Append the PCM stream characteristics instead, giving `FLAC 96/24`. Sample
rate is shown in kHz without a trailing zero, so 44100 reads as `44.1` and
96000 as `96`. When the bit depth is unknown the rate is shown on its own,
and when neither is known the format is rendered exactly as before.

DSD is left showing the container alone: it carries a 1-bit stream at MHz
rates, where `2822.4/1` would say nothing useful. Modulation is still an
open question in #1438 and wants its own representation.

Part of #1438.
2026-08-24 14:48:46 -06:00
..
bin fix(ui): service worker crashing on precacheAndRoute (#3528) 2024-12-08 17:43:34 -05:00
build ci: create versions with goreleaser 2020-01-26 20:09:25 -05:00
public fix(ui): stop precaching index.html so logins can't show the wrong user (#5882) 2026-08-02 19:46:05 -04:00
src feat(ui): show sample rate and bit depth for lossless tracks 2026-08-24 14:48:46 -06:00
.eslintignore test: update test command to run without watch mode 2025-05-24 22:58:04 -04:00
.eslintrc build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
.gitignore fix(ui): PWA not updating properly in new Vite config (#3493) 2024-11-30 10:33:16 -05:00
embed.go feat(subsonic): add structured sidecar lyrics support with OpenSubsonic v2 karaoke cues and agent layers (#5076) 2026-06-19 12:00:58 -04:00
index.html feat(plugins): add JSONForms-based plugin configuration UI (#4911) 2026-01-19 20:51:00 -05:00
package-lock.json fix(lyrics): bump navidrome-music-player to 4.25.4 (#5661) 2026-06-29 08:19:27 -04:00
package.json fix(lyrics): bump navidrome-music-player to 4.25.4 (#5661) 2026-06-29 08:19:27 -04:00
prettier.config.js build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
tsconfig.app.json build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
tsconfig.json build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
tsconfig.node.json build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
vite.config.js fix(ui): stop precaching index.html so logins can't show the wrong user (#5882) 2026-08-02 19:46:05 -04:00