Add support for filtering boxsets by parentId

This commit is contained in:
Shadowghost
2026-05-20 11:34:45 +02:00
parent 2b2db76948
commit 9dfcc0918f
3 changed files with 24 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ namespace MediaBrowser.Controller.Entities
AlbumArtistIds = [];
AlbumIds = [];
AncestorIds = [];
LinkedChildAncestorIds = [];
ArtistIds = [];
BlockUnratedItems = [];
BoxSetLibraryFolders = [];
@@ -265,6 +266,12 @@ namespace MediaBrowser.Controller.Entities
public Guid[] AncestorIds { get; set; }
/// <summary>
/// Gets or sets a list of ancestor ids that the item's linked children must descend from.
/// Useful for filtering BoxSets/Playlists to only those that contain items from a specific library.
/// </summary>
public Guid[] LinkedChildAncestorIds { get; set; }
public Guid[] TopParentIds { get; set; }
public CollectionType?[] PresetViews { get; set; }