From 2cfcb9ac0cfae50aa1a5be456fa6178cb4a2aaef Mon Sep 17 00:00:00 2001 From: Ethan Pippin Date: Thu, 12 Nov 2026 00:42:03 -0500 Subject: Years, Ratings for filters endpoints --- MediaBrowser.Controller/Persistence/IItemRepository.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'MediaBrowser.Controller/Persistence') 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 @@ -148,6 +148,20 @@ public interface IItemRepository /// Aggregated filter values. QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery filter); + /// + /// Gets the distinct, sorted production years of the matching items. + /// + /// The query filter. + /// The production years. + IReadOnlyList GetYears(InternalItemsQuery filter); + + /// + /// Gets the distinct, sorted official ratings of the matching items. + /// + /// The query filter. + /// The official ratings. + IReadOnlyList GetOfficialRatings(InternalItemsQuery filter); + /// /// Gets whether all children of the requested item have been played. /// -- cgit v1.2.3