diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-16 09:57:06 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2026-05-16 09:57:06 +0200 |
| commit | ea8f6c51fd1013b6c841fb74a7fcde532d57d8da (patch) | |
| tree | 53ccd2afeda449f22e4198dfcf3b78993938a654 /MediaBrowser.Controller/Library/SimilarItemsQuery.cs | |
| parent | d71194aa8cb07d998c0ed15df964c7c1259e7f17 (diff) | |
| parent | c4a21cb3224b284ecde65cf978a12de82d9f910c (diff) | |
Merge remote-tracking branch 'upstream/master' into search-rebased
Diffstat (limited to 'MediaBrowser.Controller/Library/SimilarItemsQuery.cs')
| -rw-r--r-- | MediaBrowser.Controller/Library/SimilarItemsQuery.cs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/SimilarItemsQuery.cs b/MediaBrowser.Controller/Library/SimilarItemsQuery.cs new file mode 100644 index 0000000000..1ed3ceec16 --- /dev/null +++ b/MediaBrowser.Controller/Library/SimilarItemsQuery.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using Jellyfin.Database.Implementations.Entities; +using MediaBrowser.Controller.Dto; + +namespace MediaBrowser.Controller.Library; + +/// <summary> +/// Query options for similar items requests. +/// </summary> +public class SimilarItemsQuery +{ + /// <summary> + /// Gets or sets the user context. + /// </summary> + public User? User { get; set; } + + /// <summary> + /// Gets or sets the maximum number of results. + /// </summary> + public int? Limit { get; set; } + + /// <summary> + /// Gets or sets the DTO options. + /// </summary> + public DtoOptions? DtoOptions { get; set; } + + /// <summary> + /// Gets or sets the item IDs to exclude from results. + /// </summary> + public IReadOnlyList<Guid> ExcludeItemIds { get; set; } = []; + + /// <summary> + /// Gets or sets the artist IDs to exclude from results. + /// </summary> + public IReadOnlyList<Guid> ExcludeArtistIds { get; set; } = []; +} |
