From 900b630f5b1b56928f604f7f0a505500d1ab43ec Mon Sep 17 00:00:00 2001 From: Cody Robibero Date: Sat, 16 Apr 2022 06:03:05 -0600 Subject: [PATCH] Merge pull request #7605 from crobibero/playback-start-stop Add missing properties to PlaybackStart, PlaybackStop (cherry picked from commit 9beb3aff4e0859aaf916e44388cbd6cbede8087f) Signed-off-by: Joshua Boniface --- Emby.Server.Implementations/Session/SessionManager.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 277fdf87d5..e2fa93a380 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -699,7 +699,9 @@ namespace Emby.Server.Implementations.Session DeviceName = session.DeviceName, ClientName = session.Client, DeviceId = session.DeviceId, - Session = session + Session = session, + PlaybackPositionTicks = info.PositionTicks, + PlaySessionId = info.PlaySessionId }; await _eventManager.PublishAsync(eventArgs).ConfigureAwait(false); @@ -985,7 +987,8 @@ namespace Emby.Server.Implementations.Session DeviceName = session.DeviceName, ClientName = session.Client, DeviceId = session.DeviceId, - Session = session + Session = session, + PlaySessionId = info.PlaySessionId }; await _eventManager.PublishAsync(eventArgs).ConfigureAwait(false);