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/Library/ILibraryManager.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'MediaBrowser.Controller/Library') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index ae15c75350..8d00858b37 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -850,6 +850,20 @@ namespace MediaBrowser.Controller.Library /// Aggregated filter values. QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery query); + /// + /// Gets the distinct, sorted production years of the matching items. + /// + /// The query filter. + /// The production years. + IReadOnlyList GetYears(InternalItemsQuery query); + + /// + /// Gets the distinct, sorted official ratings of the matching items. + /// + /// The query filter. + /// The official ratings. + IReadOnlyList GetOfficialRatings(InternalItemsQuery query); + /// /// Gets a list of all distinct tags of the matching items. /// -- cgit v1.2.3