aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Persistence/IItemCountService.cs
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/Persistence/IItemCountService.cs
parent59cd5f983bc30a468481543e2cc52575cfe3d818 (diff)
Count distinct items for byName ItemCounts and batch every kind
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IItemCountService.cs')
-rw-r--r--MediaBrowser.Controller/Persistence/IItemCountService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemCountService.cs b/MediaBrowser.Controller/Persistence/IItemCountService.cs
index 20b5cbe603..14c422cb60 100644
--- a/MediaBrowser.Controller/Persistence/IItemCountService.cs
+++ b/MediaBrowser.Controller/Persistence/IItemCountService.cs
@@ -37,7 +37,9 @@ public interface IItemCountService
ItemCounts GetItemCountsForNameItem(BaseItemKind kind, Guid id, BaseItemKind[] relatedItemKinds, InternalItemsQuery accessFilter);
/// <summary>
- /// Gets item counts for several "by-name" items of the same kind in one query.
+ /// 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 id.
/// </summary>
/// <param name="kind">The kind of the name items.</param>
/// <param name="ids">The IDs of the name items.</param>