diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-07-27 01:21:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-27 01:21:30 -0400 |
| commit | 76affb41b0fedc89b9eeb52cbd25a661c8beb486 (patch) | |
| tree | 14ed05412fd182e756f3558c9e18e39e42faf679 /Emby.Server.Core/ApplicationHost.cs | |
| parent | ce6d403689604def0afdc54aa6fe174488367081 (diff) | |
| parent | d0aa25f0295580303cffddb9539b50a05a22b41f (diff) | |
Merge pull request #2779 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Core/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Core/ApplicationHost.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Emby.Server.Core/ApplicationHost.cs b/Emby.Server.Core/ApplicationHost.cs index 584706e4f..67c936437 100644 --- a/Emby.Server.Core/ApplicationHost.cs +++ b/Emby.Server.Core/ApplicationHost.cs @@ -17,7 +17,6 @@ using MediaBrowser.Controller.Dlna; using MediaBrowser.Controller.Drawing; using MediaBrowser.Controller.Dto; using MediaBrowser.Controller.Entities; -using MediaBrowser.Controller.FileOrganization; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.LiveTv; using MediaBrowser.Controller.MediaEncoding; @@ -94,7 +93,6 @@ using Emby.Server.Implementations.Channels; using Emby.Server.Implementations.Collections; using Emby.Server.Implementations.Dto; using Emby.Server.Implementations.IO; -using Emby.Server.Implementations.FileOrganization; using Emby.Server.Implementations.HttpServer; using Emby.Server.Implementations.HttpServer.Security; using Emby.Server.Implementations.Library; @@ -216,7 +214,6 @@ namespace Emby.Server.Core internal IDisplayPreferencesRepository DisplayPreferencesRepository { get; set; } internal IItemRepository ItemRepository { get; set; } private INotificationsRepository NotificationsRepository { get; set; } - private IFileOrganizationRepository FileOrganizationRepository { get; set; } private INotificationManager NotificationManager { get; set; } private ISubtitleManager SubtitleManager { get; set; } @@ -583,9 +580,6 @@ namespace Emby.Server.Core ItemRepository = itemRepo; RegisterSingleInstance(ItemRepository); - FileOrganizationRepository = GetFileOrganizationRepository(); - RegisterSingleInstance(FileOrganizationRepository); - AuthenticationRepository = GetAuthenticationRepository(); RegisterSingleInstance(AuthenticationRepository); @@ -644,9 +638,6 @@ namespace Emby.Server.Core var newsService = new Emby.Server.Implementations.News.NewsService(ApplicationPaths, JsonSerializer); RegisterSingleInstance<INewsService>(newsService); - var fileOrganizationService = new FileOrganizationService(TaskManager, FileOrganizationRepository, LogManager.GetLogger("FileOrganizationService"), LibraryMonitor, LibraryManager, ServerConfigurationManager, FileSystemManager, ProviderManager); - RegisterSingleInstance<IFileOrganizationService>(fileOrganizationService); - progress.Report(15); ChannelManager = new ChannelManager(UserManager, DtoService, LibraryManager, LogManager.GetLogger("ChannelManager"), ServerConfigurationManager, FileSystemManager, UserDataManager, JsonSerializer, LocalizationManager, HttpClient, ProviderManager); @@ -932,19 +923,6 @@ namespace Emby.Server.Core return repo; } - /// <summary> - /// Gets the file organization repository. - /// </summary> - /// <returns>Task{IUserRepository}.</returns> - private IFileOrganizationRepository GetFileOrganizationRepository() - { - var repo = new SqliteFileOrganizationRepository(LogManager.GetLogger("SqliteFileOrganizationRepository"), ServerConfigurationManager.ApplicationPaths); - - repo.Initialize(); - - return repo; - } - private IAuthenticationRepository GetAuthenticationRepository() { var repo = new AuthenticationRepository(LogManager.GetLogger("AuthenticationRepository"), ServerConfigurationManager.ApplicationPaths); |
