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