diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2019-11-05 08:17:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-05 08:17:34 -0500 |
| commit | d33e0a4e2c59783c785c992ea0c3a31596ae3058 (patch) | |
| tree | edadeff46c2b89dfeaf4fa7624de05176598fc6e | |
| parent | 349310787cbf49964a0e9bd1548adb5a3a3a3c1c (diff) | |
Simplify AttachmentExtractor instantiation.
Co-Authored-By: Bond-009 <bond.009@outlook.com>
| -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 ac37cfe07..9330d5719 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(AttachmentExtractor); + serviceCollection.AddSingleton<MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor>(); _displayPreferencesRepository.Initialize(); |
