The Free Software Media System - Server Backend & API
Revert "Simplify AttachmentExtractor instantiation."
Andrew Mahone79bbf09ecba6
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex 9330d57198..ac37cfe079 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -908,7 +908,7 @@ namespace Emby.Server.ImplementationsAttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);- serviceCollection.AddSingleton<MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor>();+ serviceCollection.AddSingleton(AttachmentExtractor);_displayPreferencesRepository.Initialize();