aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-21 18:25:09 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-21 18:25:09 +0100
commitaa546dd36abb688cb3a5d10e589521ebf79ef610 (patch)
treec59d8121947172b7269d7bd289ce4e331388b641 /MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
parent1a63c3f3644f8144ac7761724476891f4dc1d2cd (diff)
Rename command line option to --nowebclient and config setting to HostWebClient
Diffstat (limited to 'MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs')
-rw-r--r--MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs b/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
index 900cc6cb5..c95149984 100644
--- a/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
+++ b/MediaBrowser.Controller/Extensions/ConfigurationExtensions.cs
@@ -9,9 +9,9 @@ namespace MediaBrowser.Controller.Extensions
public static class ConfigurationExtensions
{
/// <summary>
- /// The key for a setting that indicates whether the application should host static web content.
+ /// The key for a setting that indicates whether the application should host web client content.
/// </summary>
- public const string NoWebContentKey = "nowebcontent";
+ public const string HostWebClientKey = "hostwebclient";
/// <summary>
/// The key for the FFmpeg probe size option.
@@ -34,8 +34,8 @@ namespace MediaBrowser.Controller.Extensions
/// <param name="configuration">The configuration to retrieve the value from.</param>
/// <returns>The parsed config value.</returns>
/// <exception cref="FormatException">The config value is not a valid bool string. See <see cref="bool.Parse(string)"/>.</exception>
- public static bool NoWebContent(this IConfiguration configuration)
- => configuration.GetValue<bool>(NoWebContentKey);
+ public static bool HostWebClient(this IConfiguration configuration)
+ => configuration.GetValue<bool>(HostWebClientKey);
/// <summary>
/// Gets the FFmpeg probe size from the <see cref="IConfiguration" />.