Simplify AttachmentExtractor instantiation.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
349310787c
commit
d33e0a4e2c
|
@ -908,7 +908,7 @@ namespace Emby.Server.Implementations
|
||||||
|
|
||||||
AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);
|
AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);
|
||||||
|
|
||||||
serviceCollection.AddSingleton(AttachmentExtractor);
|
serviceCollection.AddSingleton<MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor>();
|
||||||
|
|
||||||
_displayPreferencesRepository.Initialize();
|
_displayPreferencesRepository.Initialize();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user