diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-22 17:56:54 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-22 17:56:54 -0400 |
| commit | 1afb28b48797ee53442823cfd395e07d219e8ec3 (patch) | |
| tree | 694d2d8a3449a6d8cb46fddeb73ed1f96be634d7 /MediaBrowser.Model/Configuration | |
| parent | ac201a6cdb22ff158aaca1378361b03b2127686d (diff) | |
add cinema mode feature
Diffstat (limited to 'MediaBrowser.Model/Configuration')
3 files changed, 28 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs b/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs new file mode 100644 index 000000000..35053e3de --- /dev/null +++ b/MediaBrowser.Model/Configuration/CinemaModeConfiguration.cs @@ -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; + } + } +} diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 4786194e2..9d125779b 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -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[] { }; diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs index 3f25ba656..e535d7805 100644 --- a/MediaBrowser.Model/Configuration/UserConfiguration.cs +++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs @@ -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> |
