diff options
Diffstat (limited to 'MediaBrowser.Model/Configuration')
3 files changed, 25 insertions, 3 deletions
diff --git a/MediaBrowser.Model/Configuration/ManualLoginCategory.cs b/MediaBrowser.Model/Configuration/ManualLoginCategory.cs new file mode 100644 index 000000000..20e873437 --- /dev/null +++ b/MediaBrowser.Model/Configuration/ManualLoginCategory.cs @@ -0,0 +1,10 @@ + +namespace MediaBrowser.Model.Configuration +{ + public enum ManualLoginCategory + { + Mobile, + MediaBrowserTheater, + Roku + } +} diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index fadb4aefa..2cb0eef48 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -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"; diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs index 45ef03b8d..35e9b3b0f 100644 --- a/MediaBrowser.Model/Configuration/UserConfiguration.cs +++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs @@ -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> |
