diff options
| author | fmarcac <188743521+fmarcac@users.noreply.github.com> | 2026-09-05 14:20:26 +0200 |
|---|---|---|
| committer | fmarcac <188743521+fmarcac@users.noreply.github.com> | 2026-09-05 14:24:49 +0200 |
| commit | 0c05d9d1a97ccf77571c7cffd39314c5cf3ad4e6 (patch) | |
| tree | cd67659deda150cc2cd66e2c7e3709aea29fad9d /MediaBrowser.Controller | |
| parent | c80f05fad100433077c3011baeebb52271939823 (diff) | |
Apply the SyncPlay resume delay floor in the correct unit
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs index eb38eeb503..f4fab29800 100644 --- a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs +++ b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs @@ -501,7 +501,7 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates { // Client, that was buffering, resumed playback but did not update others in time. delayTicks = context.GetHighestPing() * 2 * TimeSpan.TicksPerMillisecond; - delayTicks = Math.Max(delayTicks, context.DefaultPing); + delayTicks = Math.Max(delayTicks, TimeSpan.FromMilliseconds(context.DefaultPing).Ticks); context.LastActivity = currentTime.AddTicks(delayTicks); |
