mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 09:59:06 -07:00
Fix naming const
This commit is contained in:
parent
cc5acf37f7
commit
c6d48f51f6
@ -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" }
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user