mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-23 22:19:46 +00:00
Merge pull request #506 from Sky-High/fix-volume-sync-w-webclient
This commit is contained in:
commit
4935b89c49
@ -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