The Free Software Media System - Server Backend & API
Address comments
Bond-009c74028d08d4f
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex 41ac4fcffa..784486d524 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -477,7 +477,6 @@ namespace Emby.Server.Implementationscatch (Exception ex){Logger.LogError(ex, "Error creating {Type}", type);- // Don't blow up in release modereturn null;}}@@ -767,7 +766,8 @@ namespace Emby.Server.ImplementationsSessionManager = new SessionManager(UserDataManager, LoggerFactory, LibraryManager, UserManager, musicManager, DtoService, ImageProcessor, JsonSerializer, this, HttpClient, AuthenticationRepository, DeviceManager, MediaSourceManager);serviceCollection.AddSingleton(SessionManager);- serviceCollection.AddSingleton<IDlnaManager>(new DlnaManager(XmlSerializer, FileSystemManager, ApplicationPaths, LoggerFactory, JsonSerializer, this, assemblyInfo));+ serviceCollection.AddSingleton<IDlnaManager>(+ new DlnaManager(XmlSerializer, FileSystemManager, ApplicationPaths, LoggerFactory, JsonSerializer, this, assemblyInfo));CollectionManager = new CollectionManager(LibraryManager, ApplicationPaths, LocalizationManager, FileSystemManager, LibraryMonitor, LoggerFactory, ProviderManager);serviceCollection.AddSingleton(CollectionManager);@@ -784,7 +784,8 @@ namespace Emby.Server.ImplementationsNotificationManager = new NotificationManager(LoggerFactory, UserManager, ServerConfigurationManager);serviceCollection.AddSingleton(NotificationManager);- serviceCollection.AddSingleton<IDeviceDiscovery>(new DeviceDiscovery(LoggerFactory, ServerConfigurationManager, SocketFactory));+ serviceCollection.AddSingleton<IDeviceDiscovery>(+ new DeviceDiscovery(LoggerFactory, ServerConfigurationManager, SocketFactory));ChapterManager = new ChapterManager(LibraryManager, LoggerFactory, ServerConfigurationManager, ItemRepository);serviceCollection.AddSingleton(ChapterManager);@@ -1381,9 +1382,6 @@ namespace Emby.Server.Implementations}}- // Gets all plugin assemblies by first reading all bytes of the .dll and calling Assembly.Load against that- // This will prevent the .dll file from getting locked, and allow us to replace it when needed-// Include composable parts in the Api assemblyyield return typeof(ApiEntryPoint).Assembly;