|
|
@ -6,8 +6,10 @@ using MediaBrowser.Common.Extensions;
|
|
|
|
using MediaBrowser.Common.Implementations;
|
|
|
|
using MediaBrowser.Common.Implementations;
|
|
|
|
using MediaBrowser.Common.Implementations.ScheduledTasks;
|
|
|
|
using MediaBrowser.Common.Implementations.ScheduledTasks;
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
|
|
|
|
using MediaBrowser.Common.Implementations.Updates;
|
|
|
|
using MediaBrowser.Common.MediaInfo;
|
|
|
|
using MediaBrowser.Common.MediaInfo;
|
|
|
|
using MediaBrowser.Common.Net;
|
|
|
|
using MediaBrowser.Common.Net;
|
|
|
|
|
|
|
|
using MediaBrowser.Common.Updates;
|
|
|
|
using MediaBrowser.Controller;
|
|
|
|
using MediaBrowser.Controller;
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
using MediaBrowser.Controller.Configuration;
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
|
|
|
using MediaBrowser.Controller.Drawing;
|
|
|
@ -22,7 +24,6 @@ using MediaBrowser.Controller.Providers;
|
|
|
|
using MediaBrowser.Controller.Resolvers;
|
|
|
|
using MediaBrowser.Controller.Resolvers;
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
using MediaBrowser.Controller.Session;
|
|
|
|
using MediaBrowser.Controller.Sorting;
|
|
|
|
using MediaBrowser.Controller.Sorting;
|
|
|
|
using MediaBrowser.Controller.Updates;
|
|
|
|
|
|
|
|
using MediaBrowser.IsoMounter;
|
|
|
|
using MediaBrowser.IsoMounter;
|
|
|
|
using MediaBrowser.Model.IO;
|
|
|
|
using MediaBrowser.Model.IO;
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
@ -41,7 +42,6 @@ using MediaBrowser.Server.Implementations.Persistence;
|
|
|
|
using MediaBrowser.Server.Implementations.Providers;
|
|
|
|
using MediaBrowser.Server.Implementations.Providers;
|
|
|
|
using MediaBrowser.Server.Implementations.ServerManager;
|
|
|
|
using MediaBrowser.Server.Implementations.ServerManager;
|
|
|
|
using MediaBrowser.Server.Implementations.Session;
|
|
|
|
using MediaBrowser.Server.Implementations.Session;
|
|
|
|
using MediaBrowser.Server.Implementations.Updates;
|
|
|
|
|
|
|
|
using MediaBrowser.Server.Implementations.WebSocket;
|
|
|
|
using MediaBrowser.Server.Implementations.WebSocket;
|
|
|
|
using MediaBrowser.ServerApplication.Implementations;
|
|
|
|
using MediaBrowser.ServerApplication.Implementations;
|
|
|
|
using MediaBrowser.WebDashboard.Api;
|
|
|
|
using MediaBrowser.WebDashboard.Api;
|
|
|
@ -118,11 +118,6 @@ namespace MediaBrowser.ServerApplication
|
|
|
|
return new ServerConfigurationManager(ApplicationPaths, LogManager, XmlSerializer);
|
|
|
|
return new ServerConfigurationManager(ApplicationPaths, LogManager, XmlSerializer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Gets or sets the installation manager.
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <value>The installation manager.</value>
|
|
|
|
|
|
|
|
private IInstallationManager InstallationManager { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets or sets the server manager.
|
|
|
|
/// Gets or sets the server manager.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -265,9 +260,6 @@ namespace MediaBrowser.ServerApplication
|
|
|
|
LibraryManager = new LibraryManager(Logger, TaskManager, UserManager, ServerConfigurationManager, UserDataRepository, () => DirectoryWatchers);
|
|
|
|
LibraryManager = new LibraryManager(Logger, TaskManager, UserManager, ServerConfigurationManager, UserDataRepository, () => DirectoryWatchers);
|
|
|
|
RegisterSingleInstance(LibraryManager);
|
|
|
|
RegisterSingleInstance(LibraryManager);
|
|
|
|
|
|
|
|
|
|
|
|
InstallationManager = new InstallationManager(HttpClient, PackageManager, JsonSerializer, Logger, this);
|
|
|
|
|
|
|
|
RegisterSingleInstance(InstallationManager);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DirectoryWatchers = new DirectoryWatchers(LogManager, TaskManager, LibraryManager, ServerConfigurationManager);
|
|
|
|
DirectoryWatchers = new DirectoryWatchers(LogManager, TaskManager, LibraryManager, ServerConfigurationManager);
|
|
|
|
RegisterSingleInstance(DirectoryWatchers);
|
|
|
|
RegisterSingleInstance(DirectoryWatchers);
|
|
|
|
|
|
|
|
|
|
|
|