diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-05-21 19:32:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-21 19:32:39 +0200 |
| commit | 4209b3ba519d96cec4c7a5e0987de2b1237e52ae (patch) | |
| tree | 7d7f54d88f7ca1d71efaeecc17c0e5826bc6efef /MediaBrowser.Controller/Entities | |
| parent | 40485aa2f67c903baab2cdde939f4ee13c40b569 (diff) | |
| parent | 9dfcc0918f797a0937b688426232e17898648f94 (diff) | |
Add support for filtering boxsets by parentId (#16882)
Diffstat (limited to 'MediaBrowser.Controller/Entities')
| -rw-r--r-- | MediaBrowser.Controller/Entities/InternalItemsQuery.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs index 1e5b5aa164..422c40ce5d 100644 --- a/MediaBrowser.Controller/Entities/InternalItemsQuery.cs +++ b/MediaBrowser.Controller/Entities/InternalItemsQuery.cs @@ -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; } |
