|
|
@ -81,9 +81,15 @@ namespace Jellyfin.Server
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>The configuration dictionary.</returns>
|
|
|
|
/// <returns>The configuration dictionary.</returns>
|
|
|
|
public Dictionary<string, string> ConvertToConfig()
|
|
|
|
public Dictionary<string, string> ConvertToConfig()
|
|
|
|
=> new Dictionary<string, string>
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
{ ConfigurationExtensions.NoWebContentKey, NoWebContent.ToString(CultureInfo.InvariantCulture) }
|
|
|
|
var config = new Dictionary<string, string>();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
if (NoWebContent)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
config.Add(ConfigurationExtensions.NoWebContentKey, bool.TrueString);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return config;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|