add cinema mode feature

This commit is contained in:
Luke Pulverenti
2014-09-22 17:56:54 -04:00
parent ac201a6cdb
commit 1afb28b487
55 changed files with 1014 additions and 141 deletions

View File

@@ -0,0 +1,23 @@

namespace MediaBrowser.Model.Configuration
{
public class CinemaModeConfiguration
{
public bool EnableIntrosForMovies { get; set; }
public bool EnableIntrosForEpisodes { get; set; }
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 CinemaModeConfiguration()
{
EnableIntrosForMovies = true;
EnableCustomIntro = true;
EnableIntrosFromMoviesInLibrary = true;
EnableIntrosFromUpcomingTrailers = true;
EnableIntrosParentalControl = true;
}
}
}

View File

@@ -179,6 +179,8 @@ namespace MediaBrowser.Model.Configuration
public bool SaveMetadataHidden { get; set; }
public bool FindInternetTrailers { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
/// </summary>
@@ -204,7 +206,8 @@ namespace MediaBrowser.Model.Configuration
RealtimeMonitorDelay = 30;
EnableInternetProviders = true;
EnableInternetProviders = true;
FindInternetTrailers = true;
PathSubstitutions = new PathSubstitution[] { };

View File

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