diff --git a/src/helpers.ts b/src/helpers.ts index 43b721b..f6dfca0 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -55,7 +55,7 @@ export function getReportingParams(state: PlaybackState): PlaybackProgressInfo { PositionTicks: Math.round(getCurrentPositionTicks(state)), RepeatMode: window.repeatMode, SubtitleStreamIndex: state.subtitleStreamIndex, - VolumeLevel: Math.round(window.volume?.level ?? 0 * 100) + VolumeLevel: Math.round((window.volume?.level ?? 0) * 100) }; }