aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels van Velzen <nielsvanvelzen@users.noreply.github.com>2025-03-23 23:17:37 +0100
committerGitHub <noreply@github.com>2025-03-23 23:17:37 +0100
commit516754c2a6fba1c2449a34a30ffa7f9ec2f940dd (patch)
tree0d3b28c3af9dd42c31aa61634a74da1714a01b9b
parent35f8720251701ee2c7842b41d6232926d94db57b (diff)
parentea6130b354d263777b303ff9d79cab9aa4f22fb7 (diff)
Merge pull request #13761 from Shadowghost/fix-runtime
Add missing singleton
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 29967c6df..4fe1d2b17 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -57,6 +57,7 @@ using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Drawing;
using MediaBrowser.Controller.Dto;
using MediaBrowser.Controller.Entities;
+using MediaBrowser.Controller.IO;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.LiveTv;
using MediaBrowser.Controller.Lyrics;
@@ -508,6 +509,7 @@ namespace Emby.Server.Implementations
serviceCollection.AddSingleton<IMediaEncoder, MediaBrowser.MediaEncoding.Encoder.MediaEncoder>();
serviceCollection.AddSingleton<EncodingHelper>();
+ serviceCollection.AddSingleton<IPathManager, PathManager>();
// TODO: Refactor to eliminate the circular dependencies here so that Lazy<T> isn't required
serviceCollection.AddTransient(provider => new Lazy<ILibraryMonitor>(provider.GetRequiredService<ILibraryMonitor>));