Replace '_' with ':' in config keys
This commit is contained in:
parent
baadb504bb
commit
2c0259f920
|
@ -7,8 +7,8 @@ namespace Emby.Server.Implementations
|
||||||
{
|
{
|
||||||
public static Dictionary<string, string> Configuration => new Dictionary<string, string>
|
public static Dictionary<string, string> Configuration => new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{ "HttpListenerHost_DefaultRedirectPath", "web/index.html" },
|
{ "HttpListenerHost:DefaultRedirectPath", "web/index.html" },
|
||||||
{ "MusicBrainz_BaseUrl", "https://www.musicbrainz.org" },
|
{ "MusicBrainz:BaseUrl", "https://www.musicbrainz.org" },
|
||||||
{ FfmpegProbeSizeKey, "1G" },
|
{ FfmpegProbeSizeKey, "1G" },
|
||||||
{ FfmpegAnalyzeDurationKey, "200M" }
|
{ FfmpegAnalyzeDurationKey, "200M" }
|
||||||
};
|
};
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
_appHost = applicationHost;
|
_appHost = applicationHost;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_config = config;
|
_config = config;
|
||||||
_defaultRedirectPath = configuration["HttpListenerHost_DefaultRedirectPath"];
|
_defaultRedirectPath = configuration["HttpListenerHost:DefaultRedirectPath"];
|
||||||
_baseUrlPrefix = _config.Configuration.BaseUrl;
|
_baseUrlPrefix = _config.Configuration.BaseUrl;
|
||||||
_networkManager = networkManager;
|
_networkManager = networkManager;
|
||||||
_jsonSerializer = jsonSerializer;
|
_jsonSerializer = jsonSerializer;
|
||||||
|
|
|
@ -10,12 +10,12 @@ namespace MediaBrowser.Controller.Extensions
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The key for the FFmpeg probe size option.
|
/// The key for the FFmpeg probe size option.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string FfmpegProbeSizeKey = "FFmpeg_probesize";
|
public const string FfmpegProbeSizeKey = "FFmpeg:probesize";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The key for the FFmpeg analyse duration option.
|
/// The key for the FFmpeg analyse duration option.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string FfmpegAnalyzeDurationKey = "FFmpeg_analyzeduration";
|
public const string FfmpegAnalyzeDurationKey = "FFmpeg:analyzeduration";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieves the FFmpeg probe size from the <see cref="IConfiguration" />.
|
/// Retrieves the FFmpeg probe size from the <see cref="IConfiguration" />.
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace MediaBrowser.Providers.Music
|
||||||
_appHost = appHost;
|
_appHost = appHost;
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
|
|
||||||
_musicBrainzBaseUrl = configuration["MusicBrainz_BaseUrl"];
|
_musicBrainzBaseUrl = configuration["MusicBrainz:BaseUrl"];
|
||||||
|
|
||||||
// Use a stopwatch to ensure we don't exceed the MusicBrainz rate limit
|
// Use a stopwatch to ensure we don't exceed the MusicBrainz rate limit
|
||||||
_stopWatchMusicBrainz.Start();
|
_stopWatchMusicBrainz.Start();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user