navidrome/ui/src/transcoding
Deluan 8d77a49b31 fix(ui): allow setting a transcoding Default Bit Rate of 0
The Default Bit Rate dropdown on the Transcoding create/edit forms was fed
BITRATE_CHOICES, which starts at 32. There was no way to pick 0, and the
SelectInput was not resettable, so an admin could neither create nor restore a
transcoding with no default bit rate, such as the default FLAC one (seeded with
0 in consts.DefaultTranscodings). Editing that row also rendered a blank
dropdown, since its stored value matched no choice.

Adds TRANSCODING_BITRATE_CHOICES, which prepends a 0 entry labelled 'None' to
the shared list. The forms use it as SelectInput choices, and the list and
read-only show view render it through SelectField, so all four screens resolve
the label from the same array and cannot drift. The shared BITRATE_CHOICES is
left untouched, because 0 is not a meaningful option for the player Max. Bit
Rate or the share dialog.

Reported in discussion #6107, where a user had deleted the default
transcodings and could not recreate the FLAC one.
2026-09-09 17:35:03 -04:00
..
index.js fix(ui): minor icon inconsistencies and "no missing files" translation (#3837) 2025-03-16 19:39:19 -04:00
TranscodingCreate.jsx fix(ui): allow setting a transcoding Default Bit Rate of 0 2026-09-09 17:35:03 -04:00
TranscodingEdit.jsx fix(ui): allow setting a transcoding Default Bit Rate of 0 2026-09-09 17:35:03 -04:00
TranscodingList.jsx fix(ui): allow setting a transcoding Default Bit Rate of 0 2026-09-09 17:35:03 -04:00
TranscodingNote.jsx build(ui): migrate from CRA/Jest to Vite/Vitest (#3311) 2024-09-28 11:54:36 -04:00
TranscodingShow.jsx fix(ui): allow setting a transcoding Default Bit Rate of 0 2026-09-09 17:35:03 -04:00