Fix naming const

This commit is contained in:
Bond-009 2019-11-25 12:12:48 +01:00
parent cc5acf37f7
commit c6d48f51f6
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ namespace Emby.Server.Implementations
{ "HttpListenerHost_DefaultRedirectPath", "web/index.html" },
{ "MusicBrainz_BaseUrl", "https://www.musicbrainz.org" },
{ FfmpegProbeSizeKey, "1G" },
{ FfmpegAnalyzeDuration, "200M" }
{ FfmpegAnalyzeDurationKey, "200M" }
};
}
}

View File

@ -15,7 +15,7 @@ namespace MediaBrowser.Controller.Extensions
/// <summary>
/// The key for the FFmpeg analyse duration option.
/// </summary>
public const string FfmpegAnalyzeDuration = "FFmpeg_analyzeduration";
public const string FfmpegAnalyzeDurationKey = "FFmpeg_analyzeduration";
/// <summary>
/// Retrieves the FFmpeg probe size from the <see cref="IConfiguration" />.
@ -31,6 +31,6 @@ namespace MediaBrowser.Controller.Extensions
/// <param name="configuration">This configuration.</param>
/// <returns>The FFmpeg analyse duration option.</returns>
public static string GetAnalyzeDuration(this IConfiguration configuration)
=> configuration[FfmpegAnalyzeDuration];
=> configuration[FfmpegAnalyzeDurationKey];
}
}