hermes@bounty.hunter 15bf403a37 fix: resolve bounty issue #2513 - format listen-mode audio quality labels
Formats raw bitrate values (e.g. 128000) to readable kilobit labels (e.g. 128k) in listen mode quality selection.

Root cause: The player.ecr template was displaying raw bitrate integers with a 'k' suffix appended, resulting in confusing labels like '128000k' instead of '128k'.

Fix:
- Added format_audio_quality_label helper in helpers.cr that divides bitrate by 1000 and rounds to integer
- Updated player.ecr to use the new helper for audio stream quality labels
- Added spec coverage for the new helper

Closes #2513
2026-05-27 04:10:09 +07:00
..