aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Persistence/IItemRepository.cs
diff options
context:
space:
mode:
authorEthan Pippin <ethanpippin2343@gmail.com>2026-11-12 00:42:03 -0500
committerEthan Pippin <ethanpippin2343@gmail.com>2026-11-12 00:42:03 -0500
commit2cfcb9ac0cfae50aa1a5be456fa6178cb4a2aaef (patch)
tree296abc2e9cd09868e5503aae0c09085a370801f8 /MediaBrowser.Controller/Persistence/IItemRepository.cs
parent7b8c6451b508c8ec77070c91a14d2e631067c87e (diff)
Years, Ratings for filters endpoints
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IItemRepository.cs')
-rw-r--r--MediaBrowser.Controller/Persistence/IItemRepository.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs
index 3cf06b897c..69c74d3757 100644
--- a/MediaBrowser.Controller/Persistence/IItemRepository.cs
+++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs
@@ -149,6 +149,20 @@ public interface IItemRepository
QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery filter);
/// <summary>
+ /// Gets the distinct, sorted production years of the matching items.
+ /// </summary>
+ /// <param name="filter">The query filter.</param>
+ /// <returns>The production years.</returns>
+ IReadOnlyList<int> GetYears(InternalItemsQuery filter);
+
+ /// <summary>
+ /// Gets the distinct, sorted official ratings of the matching items.
+ /// </summary>
+ /// <param name="filter">The query filter.</param>
+ /// <returns>The official ratings.</returns>
+ IReadOnlyList<string> GetOfficialRatings(InternalItemsQuery filter);
+
+ /// <summary>
/// Gets whether all children of the requested item have been played.
/// </summary>
/// <param name="user">The user to check against.</param>