Simplify AttachmentExtractor instantiation.

Co-Authored-By: Bond-009 <bond.009@outlook.com>
pull/1838/head
Andrew Mahone 5 years ago committed by GitHub
parent 349310787c
commit d33e0a4e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -908,7 +908,7 @@ namespace Emby.Server.Implementations
AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory);
serviceCollection.AddSingleton(AttachmentExtractor);
serviceCollection.AddSingleton<MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor>();
_displayPreferencesRepository.Initialize();

Loading…
Cancel
Save