aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Persistence/IItemRepository.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2025-08-11 21:03:55 -0600
committerCody Robibero <cody@robibe.ro>2025-08-11 21:06:04 -0600
commitbeca405ad4c771f9cfdd5b410b4a4ba9f1c2d6c8 (patch)
treebef93d4b121c21877663c8ae7373df601b0cfb9a /MediaBrowser.Controller/Persistence/IItemRepository.cs
parent5eef85f027194491796ceb693057239858ac017c (diff)
Refactor to pull item counts in a single query
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs')
-rw-r--r--MediaBrowser.Controller/Persistence/IItemRepository.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs
index f4ac0ece4..a0dabbac6 100644
--- a/MediaBrowser.Controller/Persistence/IItemRepository.cs
+++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs
@@ -84,6 +84,8 @@ public interface IItemRepository
int GetCount(InternalItemsQuery filter);
+ ItemCounts GetItemCounts(InternalItemsQuery filter);
+
QueryResult<(BaseItem Item, ItemCounts ItemCounts)> GetGenres(InternalItemsQuery filter);
QueryResult<(BaseItem Item, ItemCounts ItemCounts)> GetMusicGenres(InternalItemsQuery filter);