diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2019-11-06 08:43:49 -0500 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2019-11-06 08:43:49 -0500 |
| commit | 79bbf09ecba6d3c2ddb0955bdbd51164a6c7a236 (patch) | |
| tree | e9eb6c2d27712154004696b99f47bc1bd0d39525 | |
| parent | 8505ee9d6c0b2f073fd39c538cbdb0ee9ee95354 (diff) | |
Revert "Simplify AttachmentExtractor instantiation."
This reverts commit d33e0a4e2c59783c785c992ea0c3a31596ae3058.
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 9330d5719..ac37cfe07 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -908,7 +908,7 @@ namespace Emby.Server.Implementations AttachmentExtractor = new MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor(LibraryManager, LoggerFactory, ApplicationPaths, FileSystemManager, MediaEncoder, MediaSourceManager, ProcessFactory); - serviceCollection.AddSingleton<MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor>(); + serviceCollection.AddSingleton(AttachmentExtractor); _displayPreferencesRepository.Initialize(); |
