aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library
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/Library
parent7b8c6451b508c8ec77070c91a14d2e631067c87e (diff)
Years, Ratings for filters endpoints
Diffstat (limited to 'MediaBrowser.Controller/Library')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs14
1 files changed, 14 insertions, 0 deletions
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
@@ -851,6 +851,20 @@ namespace MediaBrowser.Controller.Library
QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery query);
/// <summary>
+ /// Gets the distinct, sorted production years of the matching items.
+ /// </summary>
+ /// <param name="query">The query filter.</param>
+ /// <returns>The production years.</returns>
+ IReadOnlyList<int> GetYears(InternalItemsQuery query);
+
+ /// <summary>
+ /// Gets the distinct, sorted official ratings of the matching items.
+ /// </summary>
+ /// <param name="query">The query filter.</param>
+ /// <returns>The official ratings.</returns>
+ IReadOnlyList<string> GetOfficialRatings(InternalItemsQuery query);
+
+ /// <summary>
/// Gets a list of all distinct tags of the matching items.
/// </summary>
/// <param name="query">The query filter.</param>