diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-08 11:04:21 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-08 11:04:21 +0900 |
| commit | 423d50e9785e6c97b566059abcb51e7d6e3d99f0 (patch) | |
| tree | 7d671066170ba6632dc38aa11cfe98ae5514dcb1 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 534716d9c90fd0691dcbe3ec5a3fdf8ac265cbb1 (diff) | |
| parent | 73fac50e57982ac46aea2b487e9906826c3dc3b2 (diff) | |
Merge pull request #1838 from Unhelpful/media-attachments
Add support for embedded attachments in media files
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 9b853c6d1..a179c1b15 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -875,6 +875,8 @@ namespace Emby.Server.Implementations serviceCollection.AddSingleton(typeof(IResourceFileManager), typeof(ResourceFileManager)); serviceCollection.AddSingleton<EncodingHelper>(); + serviceCollection.AddSingleton(typeof(IAttachmentExtractor), typeof(MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor)); + _displayPreferencesRepository.Initialize(); var userDataRepo = new SqliteUserDataRepository(LoggerFactory.CreateLogger<SqliteUserDataRepository>(), ApplicationPaths); |
