1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-05 13:21:25 -05:00

Fixed: Display media info bitrates in bits (#11087)

This commit is contained in:
Ghworg
2025-06-01 21:50:53 +10:00
committed by GitHub
parent 1cc2237ac0
commit 7e541d4653

View File

@@ -7,8 +7,9 @@ function formatBitrate(input: string | number) {
return '';
}
const { value, symbol } = filesize(size, {
const { value, symbol } = filesize(size / 8, {
base: 10,
bits: true,
round: 1,
output: 'object',
});