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

@@ -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;
}
}
}