aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorShadowghost <Shadowghost@users.noreply.github.com>2026-09-15 11:15:53 -0400
committerCody Robibero <cody@robibe.ro>2026-09-15 11:15:53 -0400
commitb188071931a15ec4db8eb96fe1e24d98f4e48068 (patch)
tree22aa4d8aeafbee53766b2aa4b300036a7d13fe3a /MediaBrowser.Controller
parent899e1b3952a55666816b795d28cd76e3a083726d (diff)
Backport pull request #17898 from jellyfin/release-12.z
Populate missing tags array in Filters2 Original-merge: 3d52fbe84e78d6447465bb831039dabb6142ca67 Merged-by: crobibero <cody@robibe.ro> Backported-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs7
-rw-r--r--MediaBrowser.Controller/Persistence/IItemRepository.cs7
2 files changed, 14 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs
index ac6df54949..82de3546f0 100644
--- a/MediaBrowser.Controller/Library/ILibraryManager.cs
+++ b/MediaBrowser.Controller/Library/ILibraryManager.cs
@@ -833,6 +833,13 @@ namespace MediaBrowser.Controller.Library
QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery query);
/// <summary>
+ /// Gets a list of all distinct tags of the matching items.
+ /// </summary>
+ /// <param name="query">The query filter.</param>
+ /// <returns>List of tags.</returns>
+ IReadOnlyList<string> GetTagNames(InternalItemsQuery query);
+
+ /// <summary>
/// Gets a list of all language codes of the provided stream type.
/// </summary>
/// <param name="mediaStreamType">The stream type.</param>
diff --git a/MediaBrowser.Controller/Persistence/IItemRepository.cs b/MediaBrowser.Controller/Persistence/IItemRepository.cs
index d44fe57bed..3cf06b897c 100644
--- a/MediaBrowser.Controller/Persistence/IItemRepository.cs
+++ b/MediaBrowser.Controller/Persistence/IItemRepository.cs
@@ -129,6 +129,13 @@ public interface IItemRepository
public IReadOnlyList<string> GetMediaStreamLanguages(InternalItemsQuery filter, MediaStreamType mediaStreamType);
/// <summary>
+ /// Gets all distinct tags of the matching base items.
+ /// </summary>
+ /// <param name="filter">The query filter.</param>
+ /// <returns>The list of tags.</returns>
+ IReadOnlyList<string> GetTagNames(InternalItemsQuery filter);
+
+ /// <summary>
/// Gets all artist names.
/// </summary>
/// <returns>The list of artist names.</returns>