diff options
| author | Jpuc1143 <jaime.perez@uc.cl> | 2023-01-19 23:28:52 -0300 |
|---|---|---|
| committer | Jpuc1143 <jaime.perez@uc.cl> | 2023-01-20 16:43:59 -0300 |
| commit | 7fa6d4c81e9d1f22fd67a7cab2d70cba27d89275 (patch) | |
| tree | b52cb31d1f8f927935afd0a2e18d0023eeb0c87e /MediaBrowser.Controller/Entities/InternalItemsQuery.cs | |
| parent | 23ddeeda4c8e4720e9fae00dc02f7cb4501312a2 (diff) | |
Add "Allowed Tags" to Parental Controls
Diffstat (limited to 'MediaBrowser.Controller/Entities/InternalItemsQuery.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/InternalItemsQuery.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs index a1e531904..a51299284 100644 --- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs +++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs @@ -26,6 +26,7 @@ namespace MediaBrowser.Controller.Entities EnableTotalRecordCount = true; ExcludeArtistIds = Array.Empty<Guid>(); ExcludeInheritedTags = Array.Empty<string>(); + IncludeInheritedTags = Array.Empty<string>(); ExcludeItemIds = Array.Empty<Guid>(); ExcludeItemTypes = Array.Empty<BaseItemKind>(); ExcludeTags = Array.Empty<string>(); @@ -95,6 +96,8 @@ namespace MediaBrowser.Controller.Entities public string[] ExcludeInheritedTags { get; set; } + public string[] IncludeInheritedTags { get; set; } + public IReadOnlyList<string> Genres { get; set; } public bool? IsSpecialSeason { get; set; } @@ -368,6 +371,7 @@ namespace MediaBrowser.Controller.Entities } ExcludeInheritedTags = user.GetPreference(PreferenceKind.BlockedTags); + IncludeInheritedTags = user.GetPreference(PreferenceKind.AllowedTags); User = user; } |
