diff options
| author | itsb <itsb@users.noreply.github.com> | 2026-08-13 16:41:45 -0500 |
|---|---|---|
| committer | itsb <itsb@users.noreply.github.com> | 2026-08-14 23:31:39 -0500 |
| commit | 499e64b1c342bbab489407bb8059aa2684a12d8b (patch) | |
| tree | bfea9286808adb3b4681517b43a187c17c50a78c /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | 916c3c9cc31a5e0cdd26a65ca6683f6329c95f0a (diff) | |
Use client-reported position for idle playback cleanup
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 5d62332552..cdd6cb4ce2 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -655,7 +655,7 @@ namespace Emby.Server.Implementations.Session ItemId = session.NowPlayingItem is null ? Guid.Empty : session.NowPlayingItem.Id, SessionId = session.Id, MediaSourceId = session.PlayState?.MediaSourceId, - PositionTicks = session.PlayState?.PositionTicks + PositionTicks = session.LastPlaybackCheckInPositionTicks ?? 0 }).ConfigureAwait(false); } catch (Exception ex) |
