2019-02-08 02:13:58 -07:00
|
|
|
using System.Collections.Generic;
|
2020-02-28 09:57:38 -07:00
|
|
|
using Emby.Server.Implementations.HttpServer;
|
2020-04-05 10:46:36 -07:00
|
|
|
using Emby.Server.Implementations.Updates;
|
2019-10-26 13:53:53 -07:00
|
|
|
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
|
2019-02-08 02:13:58 -07:00
|
|
|
|
|
|
|
namespace Emby.Server.Implementations
|
|
|
|
{
|
2020-02-25 09:02:51 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Static class containing the default configuration options for the web server.
|
|
|
|
/// </summary>
|
2019-02-08 02:13:58 -07:00
|
|
|
public static class ConfigurationOptions
|
|
|
|
{
|
2020-02-25 09:02:51 -07:00
|
|
|
/// <summary>
|
2020-02-25 09:22:21 -07:00
|
|
|
/// Gets a new copy of the default configuration options.
|
2020-02-25 09:02:51 -07:00
|
|
|
/// </summary>
|
|
|
|
public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
|
2019-02-08 02:13:58 -07:00
|
|
|
{
|
2020-03-21 10:25:09 -07:00
|
|
|
{ HostWebClientKey, bool.TrueString },
|
2020-02-28 09:57:38 -07:00
|
|
|
{ HttpListenerHost.DefaultRedirectKey, "web/index.html" },
|
2020-04-11 04:11:41 -07:00
|
|
|
{ InstallationManager.PluginManifestUrlKey, "https://repo.jellyfin.org/releases/plugin/manifest-stable.json" },
|
2019-10-26 13:53:53 -07:00
|
|
|
{ FfmpegProbeSizeKey, "1G" },
|
2020-03-13 15:11:59 -07:00
|
|
|
{ FfmpegAnalyzeDurationKey, "200M" },
|
|
|
|
{ PlaylistsAllowDuplicatesKey, bool.TrueString }
|
2019-02-08 02:13:58 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|