Skip to content

The Free Software Media System - Server Backend & API

Merge remote-tracking branch 'origin/master' into media-attachments-clean

Andrew Mahone1600d5b53f89
diff --cc Emby.Server.Implementations/ApplicationHost.cs
index bcd99ffe4f,f7fe2bd638..ac37cfe079
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@@ -906,13 -904,9 +906,13 @@@ namespace Emby.Server.Implementation
serviceCollection.AddSingleton(typeof(IResourceFileManager), typeof(ResourceFileManager));
+ AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);
+
+ serviceCollection.AddSingleton(AttachmentExtractor);
+
_displayPreferencesRepository.Initialize();
- var userDataRepo = new SqliteUserDataRepository(LoggerFactory, ApplicationPaths);
+ var userDataRepo = new SqliteUserDataRepository(LoggerFactory.CreateLogger<SqliteUserDataRepository>(), ApplicationPaths);
SetStaticProperties();