aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-04-16 06:03:05 -0600
committerJoshua Boniface <joshua@boniface.me>2022-04-17 15:45:51 -0400
commit900b630f5b1b56928f604f7f0a505500d1ab43ec (patch)
tree4d85aa3373f8c15dc4486f2065933475ee04b36d
parent8203e933d5e9b47726cd6f46e42d07e146b3ab59 (diff)
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 <joshua@boniface.me>
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 277fdf87d..e2fa93a38 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);