2019-02-08 09:13:58 +00:00
|
|
|
using System.Collections.Generic;
|
2020-02-28 16:57:38 +00:00
|
|
|
using Emby.Server.Implementations.HttpServer;
|
|
|
|
using MediaBrowser.Providers.Music;
|
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>
|
|
|
|
public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string>
|
2019-02-08 09:13:58 +00:00
|
|
|
{
|
2020-02-28 19:40:45 +00:00
|
|
|
{ NoWebContentKey, bool.FalseString },
|
2020-02-28 16:57:38 +00:00
|
|
|
{ HttpListenerHost.DefaultRedirectKey, "web/index.html" },
|
|
|
|
{ MusicBrainzAlbumProvider.BaseUrlKey, "https://www.musicbrainz.org" },
|
2019-10-26 20:53:53 +00:00
|
|
|
{ FfmpegProbeSizeKey, "1G" },
|
2019-11-25 11:12:48 +00:00
|
|
|
{ FfmpegAnalyzeDurationKey, "200M" }
|
2019-02-08 09:13:58 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|