aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ConfigurationOptions.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-04-11 20:10:16 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-04-11 20:10:16 +0900
commitbd55bdb4e3ff4555a722321f92a4783f913204f3 (patch)
tree1cdfcd2c8da8bfc79922c3bacf17d87ae448b701 /Emby.Server.Implementations/ConfigurationOptions.cs
parentcbe1fe2c8f82af2233201203367ba8a532dbec8b (diff)
parent299541f1b26136ef89741f28c7949cda4e5e485f (diff)
merge branch master into plugin
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
-rw-r--r--Emby.Server.Implementations/ConfigurationOptions.cs19
1 files changed, 15 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs
index 2ea7ff6e9..20bdd18e7 100644
--- a/Emby.Server.Implementations/ConfigurationOptions.cs
+++ b/Emby.Server.Implementations/ConfigurationOptions.cs
@@ -1,16 +1,27 @@
using System.Collections.Generic;
+using Emby.Server.Implementations.HttpServer;
+using Emby.Server.Implementations.Updates;
+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" },
- { "MusicBrainz:BaseUrl", "https://www.musicbrainz.org" },
+ { HostWebClientKey, bool.TrueString },
+ { HttpListenerHost.DefaultRedirectKey, "web/index.html" },
+ { InstallationManager.PluginManifestUrlKey, "https://repo.jellyfin.org/releases/plugin/manifest.json" },
{ FfmpegProbeSizeKey, "1G" },
- { FfmpegAnalyzeDurationKey, "200M" }
+ { FfmpegAnalyzeDurationKey, "200M" },
+ { PlaylistsAllowDuplicatesKey, bool.TrueString }
};
}
}