The Free Software Media System - Server Backend & API
SessionManager: Log when playback is started
Jonathan Daviesf08657ab27c2
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex cf2ca047cf..f52e0f6c6c 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -793,6 +793,15 @@ namespace Emby.Server.Implementations.SessionPlaySessionId = info.PlaySessionId};+ if (info.Item is not null)+ {+ _logger.LogInformation(+ "Playback started reported by app {0} {1} playing {2}",+ session.Client,+ session.ApplicationVersion,+ info.Item.Name);+ }+await _eventManager.PublishAsync(eventArgs).ConfigureAwait(false);// Nothing to save here