aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILibraryManager.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-05-30 19:07:18 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-05-30 19:09:11 +0200
commita479e145dc1b31c0babd27994122dde0dbc6e9cb (patch)
tree8ccdb724ec610ea0ccbf5510b3b388a0c0e5c682 /MediaBrowser.Controller/Library/ILibraryManager.cs
parentcb9d6e9884d3b952321736392801743198b0ccd9 (diff)
parent99e9b2310f8a2c2a8bc630b31243df63507b1e17 (diff)
Merge remote-tracking branch 'upstream/master' into search-rebased
# Conflicts: # Emby.Server.Implementations/Library/LibraryManager.cs # Jellyfin.Server.Implementations/Item/PeopleRepository.cs # MediaBrowser.Controller/Library/ILibraryManager.cs # MediaBrowser.Controller/Persistence/IPeopleRepository.cs
Diffstat (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs
index d794205f00..c23eba75ef 100644
--- a/MediaBrowser.Controller/Library/ILibraryManager.cs
+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs
@@ -598,12 +598,13 @@ namespace MediaBrowser.Controller.Library
IReadOnlyList<string> GetPeopleNames(InternalPeopleQuery query);
/// <summary>
- /// Gets the people names per item for a batch of item IDs in a single DB round-trip.
+ /// Gets distinct people names for multiple items.
/// </summary>
- /// <param name="itemIds">The item IDs to look up.</param>
- /// <param name="personTypes">Optional person types to include. Empty for all.</param>
- /// <returns>Dictionary keyed by item id; values are the per-item people names. Items with no people are absent.</returns>
- IReadOnlyDictionary<Guid, IReadOnlyList<string>> GetPeopleNamesByItem(IReadOnlyList<Guid> itemIds, IReadOnlyList<string> personTypes);
+ /// <param name="itemIds">The item IDs.</param>
+ /// <param name="personTypes">The person types to include.</param>
+ /// <param name="limit">Maximum number of names.</param>
+ /// <returns>The distinct people names.</returns>
+ IReadOnlyList<string> GetPeopleNamesByItems(IReadOnlyList<Guid> itemIds, IReadOnlyList<string> personTypes, int limit);
/// <summary>
/// Queries the items.