aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ConfigurationOptions.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-04-01 22:42:43 +0200
committerGitHub <noreply@github.com>2020-04-01 22:42:43 +0200
commitf31efce52db9dbd726cce55ea099c0c5165da566 (patch)
treeb07d4daa00a930e744008d0955e35a9102e85052 /Emby.Server.Implementations/ConfigurationOptions.cs
parentddd5d3aaecd2837e37c6570af4e798b64a862348 (diff)
parent07ea120ba961c20717dba625edb462d09e5ebec3 (diff)
Merge branch 'master' into usings
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
-rw-r--r--Emby.Server.Implementations/ConfigurationOptions.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs
index 31fb5ca58..4574a64fd 100644
--- a/Emby.Server.Implementations/ConfigurationOptions.cs
+++ b/Emby.Server.Implementations/ConfigurationOptions.cs
@@ -1,13 +1,22 @@
using System.Collections.Generic;
+using Emby.Server.Implementations.HttpServer;
+using MediaBrowser.Providers.Music;
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
namespace Emby.Server.Implementations
{
+ /// <summary>
+ /// Static class containing the default configuration options for the web server.
+ /// </summary>
public static class ConfigurationOptions
{
- public static Dictionary<string, string> Configuration => new Dictionary<string, string>
+ /// <summary>
+ /// Gets a new copy of the default configuration options.
+ /// </summary>
+ public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
{
- { "HttpListenerHost:DefaultRedirectPath", "web/index.html" },
+ { HostWebClientKey, bool.TrueString },
+ { HttpListenerHost.DefaultRedirectKey, "web/index.html" },
{ FfmpegProbeSizeKey, "1G" },
{ FfmpegAnalyzeDurationKey, "200M" },
{ PlaylistsAllowDuplicatesKey, bool.TrueString }