Register IResourceFileManager correctly

This commit is contained in:
Mark Monteiro 2020-04-04 12:42:21 -04:00
parent 18c1823cea
commit 3dbbe54f6c

View file

@ -845,7 +845,7 @@ namespace Emby.Server.Implementations
serviceCollection.AddSingleton<ISubtitleEncoder, MediaBrowser.MediaEncoding.Subtitles.SubtitleEncoder>();
serviceCollection.AddSingleton(typeof(IResourceFileManager), typeof(ResourceFileManager));
serviceCollection.AddSingleton<IResourceFileManager, ResourceFileManager>();
serviceCollection.AddSingleton<EncodingHelper>();
serviceCollection.AddSingleton(typeof(IAttachmentExtractor), typeof(MediaBrowser.MediaEncoding.Attachments.AttachmentExtractor));