فهرست منبع

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>
Cody Robibero 3 سال پیش
والد
کامیت
900b630f5b
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      Emby.Server.Implementations/Session/SessionManager.cs

+ 5 - 2
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);