aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/Configuration/ServerConfiguration.cs8
-rw-r--r--MediaBrowser.Model/Configuration/UserConfiguration.cs35
-rw-r--r--MediaBrowser.Model/Connect/ConnectAuthorization.cs4
-rw-r--r--MediaBrowser.Model/Connect/ConnectAuthorizationRequest.cs4
-rw-r--r--MediaBrowser.Model/Users/UserPolicy.cs4
5 files changed, 15 insertions, 40 deletions
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
index e30cf1789..c4a9c5eea 100644
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@ -73,6 +73,12 @@ namespace MediaBrowser.Model.Configuration
/// </summary>
/// <value><c>true</c> if [enable localized guids]; otherwise, <c>false</c>.</value>
public bool EnableLocalizedGuids { get; set; }
+
+ /// <summary>
+ /// Gets or sets a value indicating whether [enable library metadata sub folder].
+ /// </summary>
+ /// <value><c>true</c> if [enable library metadata sub folder]; otherwise, <c>false</c>.</value>
+ public bool EnableLibraryMetadataSubFolder { get; set; }
/// <summary>
/// Gets or sets the preferred metadata language.
@@ -150,6 +156,8 @@ namespace MediaBrowser.Model.Configuration
public bool EnableTvDbUpdates { get; set; }
public bool EnableTmdbUpdates { get; set; }
+ public bool StoreArtistsInMetadata { get; set; }
+
public bool EnableFanArtUpdates { get; set; }
public string FanartApiKey { get; set; }
diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs
index 9e33c1c36..aa49ee50d 100644
--- a/MediaBrowser.Model/Configuration/UserConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs
@@ -7,12 +7,6 @@ namespace MediaBrowser.Model.Configuration
public class UserConfiguration
{
/// <summary>
- /// Gets or sets the max parental rating.
- /// </summary>
- /// <value>The max parental rating.</value>
- public int? MaxParentalRating { get; set; }
-
- /// <summary>
/// Gets or sets a value indicating whether this instance is administrator.
/// </summary>
/// <value><c>true</c> if this instance is administrator; otherwise, <c>false</c>.</value>
@@ -36,22 +30,8 @@ namespace MediaBrowser.Model.Configuration
/// <value>The subtitle language preference.</value>
public string SubtitleLanguagePreference { 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; }
-
- /// <summary>
- /// Gets or sets a value indicating whether this instance is disabled.
- /// </summary>
- /// <value><c>true</c> if this instance is disabled; otherwise, <c>false</c>.</value>
- public bool IsDisabled { get; set; }
-
public bool DisplayMissingEpisodes { get; set; }
public bool DisplayUnairedEpisodes { get; set; }
- public bool EnableRemoteControlOfOtherUsers { get; set; }
- public bool EnableSharedDeviceControl { get; set; }
public bool EnableLiveTvManagement { get; set; }
public bool EnableLiveTvAccess { get; set; }
@@ -61,9 +41,6 @@ namespace MediaBrowser.Model.Configuration
public bool GroupMoviesIntoBoxSets { get; set; }
- public string[] BlockedMediaFolders { get; set; }
- public string[] BlockedChannels { get; set; }
-
public string[] DisplayChannelsWithinViews { get; set; }
public string[] ExcludeFoldersFromGrouping { get; set; }
@@ -82,12 +59,7 @@ namespace MediaBrowser.Model.Configuration
public bool EnableCinemaMode { get; set; }
- public AccessSchedule[] AccessSchedules { get; set; }
-
- public bool EnableUserPreferenceAccess { get; set; }
-
public string[] LatestItemsExcludes { get; set; }
- public string[] BlockedTags { get; set; }
public bool HasMigratedToPolicy { get; set; }
@@ -100,14 +72,10 @@ namespace MediaBrowser.Model.Configuration
EnableLiveTvManagement = true;
EnableMediaPlayback = true;
EnableLiveTvAccess = true;
- EnableSharedDeviceControl = true;
LatestItemsExcludes = new string[] { };
OrderedViews = new string[] { };
- BlockedMediaFolders = new string[] { };
DisplayChannelsWithinViews = new string[] { };
- BlockedTags = new string[] { };
- BlockedChannels = new string[] { };
BlockUnratedItems = new UnratedItem[] { };
ExcludeFoldersFromGrouping = new string[] { };
@@ -115,9 +83,6 @@ namespace MediaBrowser.Model.Configuration
IncludeTrailersInSuggestions = true;
EnableCinemaMode = true;
- EnableUserPreferenceAccess = true;
-
- AccessSchedules = new AccessSchedule[] { };
}
}
}
diff --git a/MediaBrowser.Model/Connect/ConnectAuthorization.cs b/MediaBrowser.Model/Connect/ConnectAuthorization.cs
index 0c545f4ba..9e4537d65 100644
--- a/MediaBrowser.Model/Connect/ConnectAuthorization.cs
+++ b/MediaBrowser.Model/Connect/ConnectAuthorization.cs
@@ -9,12 +9,12 @@ namespace MediaBrowser.Model.Connect
public string Id { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
- public string[] ExcludedChannels { get; set; }
+ public string[] EnabledChannels { get; set; }
public ConnectAuthorization()
{
ExcludedLibraries = new string[] { };
- ExcludedChannels = new string[] { };
+ EnabledChannels = new string[] { };
}
}
}
diff --git a/MediaBrowser.Model/Connect/ConnectAuthorizationRequest.cs b/MediaBrowser.Model/Connect/ConnectAuthorizationRequest.cs
index d40d353f0..77c574f8b 100644
--- a/MediaBrowser.Model/Connect/ConnectAuthorizationRequest.cs
+++ b/MediaBrowser.Model/Connect/ConnectAuthorizationRequest.cs
@@ -7,12 +7,12 @@ namespace MediaBrowser.Model.Connect
public string ConnectUserName { get; set; }
public string[] ExcludedLibraries { get; set; }
public bool EnableLiveTv { get; set; }
- public string[] ExcludedChannels { get; set; }
+ public string[] EnabledChannels { get; set; }
public ConnectAuthorizationRequest()
{
ExcludedLibraries = new string[] { };
- ExcludedChannels = new string[] { };
+ EnabledChannels = new string[] { };
}
}
}
diff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.cs
index 0a6a37696..12b8c4071 100644
--- a/MediaBrowser.Model/Users/UserPolicy.cs
+++ b/MediaBrowser.Model/Users/UserPolicy.cs
@@ -52,6 +52,9 @@ namespace MediaBrowser.Model.Users
public string[] EnabledDevices { get; set; }
public bool EnableAllDevices { get; set; }
+ public string[] EnabledChannels { get; set; }
+ public bool EnableAllChannels { get; set; }
+
public UserPolicy()
{
EnableLiveTvManagement = true;
@@ -61,7 +64,6 @@ namespace MediaBrowser.Model.Users
BlockedMediaFolders = new string[] { };
BlockedTags = new string[] { };
- BlockedChannels = new string[] { };
BlockUnratedItems = new UnratedItem[] { };
EnableUserPreferenceAccess = true;