mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
28 lines
1007 B
C#
28 lines
1007 B
C#
using System.Collections.Generic;
|
|
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
|
|
{
|
|
/// <summary>
|
|
/// Gets a new copy of the default configuration options.
|
|
/// </summary>
|
|
public static Dictionary<string, string?> DefaultConfiguration => new()
|
|
{
|
|
{ HostWebClientKey, bool.TrueString },
|
|
{ DefaultRedirectKey, "web/" },
|
|
{ FfmpegProbeSizeKey, "1G" },
|
|
{ FfmpegAnalyzeDurationKey, "200M" },
|
|
{ PlaylistsAllowDuplicatesKey, bool.FalseString },
|
|
{ BindToUnixSocketKey, bool.FalseString },
|
|
{ SqliteCacheSizeKey, "20000" },
|
|
{ FfmpegSkipValidationKey, bool.FalseString },
|
|
{ DetectNetworkChangeKey, bool.TrueString }
|
|
};
|
|
}
|
|
}
|