1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-03-05 13:20:20 -05:00

Fixed: Bitrate showing as Megabytes instead of Megabits

Closes #7879
This commit is contained in:
Ghworg
2025-06-10 10:10:33 +10:00
committed by GitHub
parent a279240335
commit b3d830c475

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',
});