mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-17 13:10:28 +01:00
Add user cinema mode setting
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user