2019-02-08 09:13:58 +00:00
|
|
|
using System.Collections.Generic;
|
2019-10-26 20:53:53 +00:00
|
|
|
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
|
2019-02-08 09:13:58 +00:00
|
|
|
|
|
|
|
namespace Emby.Server.Implementations
|
|
|
|
{
|
2020-02-25 16:02:51 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Static class containing the default configuration options for the web server.
|
|
|
|
/// </summary>
|
2019-02-08 09:13:58 +00:00
|
|
|
public static class ConfigurationOptions
|
|
|
|
{
|
2020-02-25 16:02:51 +00:00
|
|
|
/// <summary>
|
2020-02-25 16:22:21 +00:00
|
|
|
/// Gets a new copy of the default configuration options.
|
2020-02-25 16:02:51 +00:00
|
|
|
/// </summary>
|
2023-06-05 16:46:13 +00:00
|
|
|
public static Dictionary<string, string?> DefaultConfiguration => new()
|
2019-02-08 09:13:58 +00:00
|
|
|
{
|
2020-03-21 17:25:09 +00:00
|
|
|
{ HostWebClientKey, bool.TrueString },
|
2023-05-15 19:28:33 +00:00
|
|
|
{ DefaultRedirectKey, "web/" },
|
2019-10-26 20:53:53 +00:00
|
|
|
{ FfmpegProbeSizeKey, "1G" },
|
2020-03-13 22:11:59 +00:00
|
|
|
{ FfmpegAnalyzeDurationKey, "200M" },
|
2020-09-10 17:03:08 +00:00
|
|
|
{ PlaylistsAllowDuplicatesKey, bool.FalseString },
|
2023-06-05 16:46:13 +00:00
|
|
|
{ BindToUnixSocketKey, bool.FalseString },
|
2024-06-02 05:23:35 +00:00
|
|
|
{ SqliteCacheSizeKey, "20000" }
|
2019-02-08 09:13:58 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|