Add user cinema mode setting

This commit is contained in:
Luke Pulverenti
2014-10-01 20:28:16 -04:00
parent 4aa959c1e2
commit 0690b4f2e0
73 changed files with 575 additions and 458 deletions

View File

@@ -53,6 +53,12 @@ namespace MediaBrowser.Model.Activity
/// <value>The user identifier.</value>
public string UserId { get; set; }
/// <summary>
/// Gets or sets the user primary image tag.
/// </summary>
/// <value>The user primary image tag.</value>
public string UserPrimaryImageTag { get; set; }
/// <summary>
/// Gets or sets the log severity.
/// </summary>

View File

@@ -8,7 +8,6 @@ namespace MediaBrowser.Model.Configuration
public bool EnableIntrosForWatchedContent { get; set; }
public bool EnableIntrosFromUpcomingTrailers { get; set; }
public bool EnableIntrosFromMoviesInLibrary { get; set; }
public bool EnableCustomIntro { get; set; }
public bool EnableIntrosParentalControl { get; set; }
public string CustomIntroPath { get; set; }
public bool EnableIntrosFromUpcomingDvdMovies { get; set; }
@@ -16,12 +15,7 @@ namespace MediaBrowser.Model.Configuration
public CinemaModeConfiguration()
{
EnableCustomIntro = true;
EnableIntrosFromMoviesInLibrary = true;
EnableIntrosFromUpcomingTrailers = true;
EnableIntrosParentalControl = true;
EnableIntrosFromUpcomingDvdMovies = true;
EnableIntrosFromUpcomingStreamingMovies = true;
}
}
}

View File

@@ -84,6 +84,8 @@ namespace MediaBrowser.Model.Configuration
public bool IncludeTrailersInSuggestions { get; set; }
public bool EnableCinemaMode { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="UserConfiguration" /> class.
/// </summary>
@@ -108,6 +110,7 @@ namespace MediaBrowser.Model.Configuration
SyncConnectName = true;
SyncConnectImage = true;
IncludeTrailersInSuggestions = true;
EnableCinemaMode = true;
}
}
}

View File

@@ -680,7 +680,6 @@ namespace MediaBrowser.Model.Dto
/// <value>The locked fields.</value>
public List<MetadataFields> LockedFields { get; set; }
public int? AdultVideoCount { get; set; }
/// <summary>
/// Gets or sets the movie count.
/// </summary>

View File

@@ -7,7 +7,6 @@ namespace MediaBrowser.Model.Dto
/// </summary>
public class ItemCounts
{
public int AdultVideoCount { get; set; }
/// <summary>
/// Gets or sets the movie count.
/// </summary>