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" },
|
{ "HttpListenerHost_DefaultRedirectPath", "web/index.html" },
|
||||||
{ "MusicBrainz_BaseUrl", "https://www.musicbrainz.org" },
|
{ "MusicBrainz_BaseUrl", "https://www.musicbrainz.org" },
|
||||||
{ FfmpegProbeSizeKey, "1G" },
|
{ FfmpegProbeSizeKey, "1G" },
|
||||||
{ FfmpegAnalyzeDuration, "200M" }
|
{ FfmpegAnalyzeDurationKey, "200M" }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ namespace MediaBrowser.Controller.Extensions
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The key for the FFmpeg analyse duration option.
|
/// The key for the FFmpeg analyse duration option.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public const string FfmpegAnalyzeDuration = "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" />.
|
||||||
|
@ -31,6 +31,6 @@ namespace MediaBrowser.Controller.Extensions
|
||||||
/// <param name="configuration">This configuration.</param>
|
/// <param name="configuration">This configuration.</param>
|
||||||
/// <returns>The FFmpeg analyse duration option.</returns>
|
/// <returns>The FFmpeg analyse duration option.</returns>
|
||||||
public static string GetAnalyzeDuration(this IConfiguration configuration)
|
public static string GetAnalyzeDuration(this IConfiguration configuration)
|
||||||
=> configuration[FfmpegAnalyzeDuration];
|
=> configuration[FfmpegAnalyzeDurationKey];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user