diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-04-01 23:35:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-01 23:35:40 +0300 |
| commit | 10275a1f32908a2b0c27b97563fbf8f55f4f3146 (patch) | |
| tree | 16c69233d9cae0d76de8aefa096cdd7385048a74 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | d8b4df6823fe8b4afab6477490471988218dfb92 (diff) | |
| parent | 3ab50f5a3ff1d1e081b12cf7226fa23771e2f552 (diff) | |
Merge pull request #2447 from Bond-009/minor
Add analyzers to MediaBrowser.Providers and minor improvements
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index f3540e25e..f9cfae692 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -844,10 +844,15 @@ namespace Emby.Server.Implementations serviceCollection.AddSingleton<IDeviceDiscovery>(new DeviceDiscovery(ServerConfigurationManager)); - ChapterManager = new ChapterManager(LibraryManager, LoggerFactory, ServerConfigurationManager, ItemRepository); + ChapterManager = new ChapterManager(ItemRepository); serviceCollection.AddSingleton(ChapterManager); - EncodingManager = new MediaEncoder.EncodingManager(FileSystemManager, LoggerFactory, MediaEncoder, ChapterManager, LibraryManager); + EncodingManager = new MediaEncoder.EncodingManager( + LoggerFactory.CreateLogger<MediaEncoder.EncodingManager>(), + FileSystemManager, + MediaEncoder, + ChapterManager, + LibraryManager); serviceCollection.AddSingleton(EncodingManager); var activityLogRepo = GetActivityLogRepository(); |
