aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2026-09-07 18:39:59 +0200
committerShadowghost <Ghost_of_Stone@web.de>2026-09-07 18:39:59 +0200
commit2644163f57a6690366c3106faa392afb72b1e55a (patch)
tree177b4fc8cdccfc6c7e07f69c45c492c9c999daf5 /MediaBrowser.Controller/Library
parent59cd5f983bc30a468481543e2cc52575cfe3d818 (diff)
Count distinct items for byName ItemCounts and batch every kind
Diffstat (limited to 'MediaBrowser.Controller/Library')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs
index 382559384a..ac6df54949 100644
--- a/MediaBrowser.Controller/Library/ILibraryManager.cs
+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs
@@ -760,8 +760,9 @@ namespace MediaBrowser.Controller.Library
ItemCounts GetItemCountsForNameItem(BaseItemKind kind, Guid id, BaseItemKind[] relatedItemKinds, User? user);
/// <summary>
- /// Gets item counts for several "by-name" items of the same kind in one query, instead of
- /// one query per item.
+ /// Gets item counts for several "by-name" items of the same kind. Kinds keyed by a cleaned
+ /// item value - artists, genres and studios - are answered in one set of queries for the
+ /// whole batch; the rest fall back to one query per item.
/// </summary>
/// <param name="kind">The kind of the name items.</param>
/// <param name="ids">The IDs of the name items.</param>