From 8452e2f1250b37aa6584faed2bb9d36ddef0a1b2 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Thu, 23 May 2013 11:07:25 -0400 Subject: Add block unrated option --- MediaBrowser.Model/Configuration/UserConfiguration.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'MediaBrowser.Model/Configuration/UserConfiguration.cs') diff --git a/MediaBrowser.Model/Configuration/UserConfiguration.cs b/MediaBrowser.Model/Configuration/UserConfiguration.cs index deb6fdb3d..792ef574f 100644 --- a/MediaBrowser.Model/Configuration/UserConfiguration.cs +++ b/MediaBrowser.Model/Configuration/UserConfiguration.cs @@ -12,6 +12,12 @@ namespace MediaBrowser.Model.Configuration /// The max parental rating. public int? MaxParentalRating { get; set; } + /// + /// Gets or sets a value indicating whether items with no rating information should be blocked. + /// + /// true if items with no rating info should be blocked; otherwise, false. + public bool BlockNotRated { get; set; } + /// /// Gets or sets a value indicating whether [use custom library]. /// @@ -48,6 +54,7 @@ namespace MediaBrowser.Model.Configuration public UserConfiguration() { IsAdministrator = true; + BlockNotRated = true; } } } -- cgit v1.2.3