mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 03:24:47 +01:00
added some user access settings
This commit is contained in:
10
MediaBrowser.Model/Configuration/ManualLoginCategory.cs
Normal file
10
MediaBrowser.Model/Configuration/ManualLoginCategory.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
public enum ManualLoginCategory
|
||||
{
|
||||
Mobile,
|
||||
MediaBrowserTheater,
|
||||
Roku
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
using MediaBrowser.Model.Weather;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Configuration
|
||||
{
|
||||
@@ -20,7 +20,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value>The weather unit.</value>
|
||||
public WeatherUnits WeatherUnit { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable HTTP level logging].
|
||||
/// </summary>
|
||||
@@ -223,6 +223,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The dashboard source path.</value>
|
||||
public string DashboardSourcePath { get; set; }
|
||||
|
||||
public ManualLoginCategory[] ManualLoginClients { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
||||
/// </summary>
|
||||
@@ -249,6 +251,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
EnableInternetProviders = true; //initial installs will need these
|
||||
InternetProviderExcludeTypes = new string[] { };
|
||||
|
||||
ManualLoginClients = new ManualLoginCategory[] { };
|
||||
|
||||
MetadataRefreshDays = 30;
|
||||
PreferredMetadataLanguage = "en";
|
||||
MetadataCountryCode = "US";
|
||||
|
||||
@@ -47,7 +47,15 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [use forced subtitles only]; otherwise, <c>false</c>.</value>
|
||||
public bool UseForcedSubtitlesOnly { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is hidden.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
|
||||
public bool IsHidden { get; set; }
|
||||
|
||||
public bool IsDisabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UserConfiguration" /> class.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user