The Free Software Media System - Server Backend & API
Register IResourceFileManager correctly
Mark Monteiro3dbbe54f6c94
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.csindex c177989116..46fa4d4b4d 100644--- a/Emby.Server.Implementations/ApplicationHost.cs+++ b/Emby.Server.Implementations/ApplicationHost.cs@@ -845,7 +845,7 @@ namespace Emby.Server.ImplementationsserviceCollection.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));