aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-04-26 07:02:26 -0600
committercrobibero <cody@robibe.ro>2021-04-26 07:02:26 -0600
commit1d6224c9c66b31c9df602b4281c870a9c400767c (patch)
tree91e65f2c5aa0de89a9782a3036a9fc62777ea929 /Emby.Server.Implementations/ApplicationHost.cs
parent5df87b3e0da0ef3010ec9929939ef3084bff42be (diff)
Add endpoint to log client events
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 703f8d20d..b05e0409d 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -55,6 +55,7 @@ using MediaBrowser.Common.Updates;
using MediaBrowser.Controller;
using MediaBrowser.Controller.Channels;
using MediaBrowser.Controller.Chapters;
+using MediaBrowser.Controller.ClientEvent;
using MediaBrowser.Controller.Collections;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Devices;
@@ -680,6 +681,8 @@ namespace Emby.Server.Implementations
ServiceCollection.AddScoped<AudioHelper>();
ServiceCollection.AddScoped<DynamicHlsHelper>();
+ ServiceCollection.AddScoped<IClientEventLogger, ClientEventLogger>();
+
ServiceCollection.AddSingleton<IDirectoryService, DirectoryService>();
}