mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
Add block unrated option
This commit is contained in:
@@ -12,6 +12,12 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// <value>The max parental rating.</value>
|
||||
public int? MaxParentalRating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether items with no rating information should be blocked.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if items with no rating info should be blocked; otherwise, <c>false</c>.</value>
|
||||
public bool BlockNotRated { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [use custom library].
|
||||
/// </summary>
|
||||
@@ -48,6 +54,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
public UserConfiguration()
|
||||
{
|
||||
IsAdministrator = true;
|
||||
BlockNotRated = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user