diff options
| author | Jonathan Davies <jpds@protonmail.com> | 2025-12-31 14:20:41 +0000 |
|---|---|---|
| committer | Jonathan Davies <jpds@protonmail.com> | 2025-12-31 15:01:41 +0000 |
| commit | f08657ab27c2f7db1200a83fa62c3c0aa6b12f67 (patch) | |
| tree | 277f624dce7f17abec6167851516f9f88f1b0057 /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | d28ee6d71415b4c1f5c158f30f427b6952b8d65b (diff) | |
SessionManager: Log when playback is started
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index cf2ca047c..f52e0f6c6 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -793,6 +793,15 @@ namespace Emby.Server.Implementations.Session PlaySessionId = 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 |
