mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-22 18:23:45 +00:00
Removed primitives from services in Program.cs
This will make it easier to move dependency registration to a system without having to new up all the services first. Moved the primitives to an IConfiguration which is much easier to inject.
This commit is contained in:
14
Emby.Server.Implementations/ConfigurationOptions.cs
Normal file
14
Emby.Server.Implementations/ConfigurationOptions.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using Emby.Server.Implementations.IO;
|
||||
|
||||
namespace Emby.Server.Implementations
|
||||
{
|
||||
public static class ConfigurationOptions
|
||||
{
|
||||
public static readonly Dictionary<string, string> Configuration = new Dictionary<string, string>
|
||||
{
|
||||
{"ManagedFileSystem:DefaultDirectory", null},
|
||||
{"ManagedFileSystem:EnableSeparateFileAndDirectoryQueries", "True"}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user