diff options
| author | JPVenson <JPVenson@users.noreply.github.com> | 2024-08-05 16:50:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 08:50:43 -0600 |
| commit | d5fdb9c3a728ff8204c14c171ee4bdb3c992b02f (patch) | |
| tree | 032db6dc2e5590d8e6de169c88e2683a32a1e592 | |
| parent | 00eb6c0d6f6aba88c66c2e9b55b9f5f4df949b59 (diff) | |
Fix missing service registration for MediaSegments (#12392)
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index ab01e8288..ceda0bd64 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -40,6 +40,7 @@ using Jellyfin.MediaEncoding.Hls.Playlist; using Jellyfin.Networking.Manager; using Jellyfin.Networking.Udp; using Jellyfin.Server.Implementations; +using Jellyfin.Server.Implementations.MediaSegments; using MediaBrowser.Common; using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Events; @@ -552,6 +553,8 @@ namespace Emby.Server.Implementations serviceCollection.AddScoped<DynamicHlsHelper>(); serviceCollection.AddScoped<IClientEventLogger, ClientEventLogger>(); serviceCollection.AddSingleton<IDirectoryService, DirectoryService>(); + + serviceCollection.AddSingleton<IMediaSegmentManager, MediaSegmentManager>(); } /// <summary> |
