mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-23 14:09:58 +00:00
Fix sync of volume level with webclient
This commit is contained in:
parent
df199797af
commit
e4136927b2
@ -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)
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user