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