|
|
@ -160,7 +160,6 @@ namespace MediaBrowser.Server.Startup.Common
|
|
|
|
private IHttpServer HttpServer { get; set; }
|
|
|
|
private IHttpServer HttpServer { get; set; }
|
|
|
|
private IDtoService DtoService { get; set; }
|
|
|
|
private IDtoService DtoService { get; set; }
|
|
|
|
private IImageProcessor ImageProcessor { get; set; }
|
|
|
|
private IImageProcessor ImageProcessor { get; set; }
|
|
|
|
private ISeriesOrderManager SeriesOrderManager { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the media encoder.
|
|
|
|
/// Gets or sets the media encoder.
|
|
|
@ -476,9 +475,6 @@ namespace MediaBrowser.Server.Startup.Common
|
|
|
|
ProviderManager = new ProviderManager(HttpClient, ServerConfigurationManager, LibraryMonitor, LogManager, FileSystemManager, ApplicationPaths, () => LibraryManager, JsonSerializer);
|
|
|
|
ProviderManager = new ProviderManager(HttpClient, ServerConfigurationManager, LibraryMonitor, LogManager, FileSystemManager, ApplicationPaths, () => LibraryManager, JsonSerializer);
|
|
|
|
RegisterSingleInstance(ProviderManager);
|
|
|
|
RegisterSingleInstance(ProviderManager);
|
|
|
|
|
|
|
|
|
|
|
|
SeriesOrderManager = new SeriesOrderManager();
|
|
|
|
|
|
|
|
RegisterSingleInstance(SeriesOrderManager);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RegisterSingleInstance<ISearchEngine>(() => new SearchEngine(LogManager, LibraryManager, UserManager));
|
|
|
|
RegisterSingleInstance<ISearchEngine>(() => new SearchEngine(LogManager, LibraryManager, UserManager));
|
|
|
|
|
|
|
|
|
|
|
|
HttpServer = ServerFactory.CreateServer(this, LogManager, ServerConfigurationManager, NetworkManager, "Emby", "web/index.html");
|
|
|
|
HttpServer = ServerFactory.CreateServer(this, LogManager, ServerConfigurationManager, NetworkManager, "Emby", "web/index.html");
|
|
|
@ -819,8 +815,6 @@ namespace MediaBrowser.Server.Startup.Common
|
|
|
|
GetExports<IImageSaver>(),
|
|
|
|
GetExports<IImageSaver>(),
|
|
|
|
GetExports<IExternalId>());
|
|
|
|
GetExports<IExternalId>());
|
|
|
|
|
|
|
|
|
|
|
|
SeriesOrderManager.AddParts(GetExports<ISeriesOrderProvider>());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ImageProcessor.AddParts(GetExports<IImageEnhancer>());
|
|
|
|
ImageProcessor.AddParts(GetExports<IImageEnhancer>());
|
|
|
|
|
|
|
|
|
|
|
|
LiveTvManager.AddParts(GetExports<ILiveTvService>(), GetExports<ITunerHost>(), GetExports<IListingsProvider>());
|
|
|
|
LiveTvManager.AddParts(GetExports<ILiveTvService>(), GetExports<ITunerHost>(), GetExports<IListingsProvider>());
|
|
|
|