aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-25 01:10:37 +0100
committerGitHub <noreply@github.com>2021-03-25 01:10:37 +0100
commit16011d96a00078facd342cd912ad8c4e690c6f95 (patch)
tree3a4b400c725a26eeb8d66975e0f1269990361e29 /Emby.Server.Implementations/ApplicationHost.cs
parente64f9f2f66bca134bba040709a44b43dba4afcd1 (diff)
parenta4cac09d5b90dda5b7d7978e083676394022ffc1 (diff)
Merge pull request #5321 from Ullmie02/nfo-thumb
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 164e6d49d..3846de5fd 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -697,6 +697,8 @@ namespace Emby.Server.Implementations
ServiceCollection.AddScoped<MediaInfoHelper>();
ServiceCollection.AddScoped<AudioHelper>();
ServiceCollection.AddScoped<DynamicHlsHelper>();
+
+ ServiceCollection.AddSingleton<IDirectoryService, DirectoryService>();
}
/// <summary>