diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-05-15 15:44:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-15 15:44:22 +0200 |
| commit | 9d420271ad4d9468683fda79d906bcd348f4979c (patch) | |
| tree | d6adbc5e2bc327242c50c81e200167720cdbd3d2 /MediaBrowser.Controller/Library | |
| parent | d93e2d6667872ea16c523202f200c873fc8191ad (diff) | |
| parent | fae4950ac2b5918081198ee5f876dd82ca81ae5d (diff) | |
Merge pull request #9787 from TheMelmacian/feature/language_filters
New filters for audio and subtitle languages
Diffstat (limited to 'MediaBrowser.Controller/Library')
| -rw-r--r-- | MediaBrowser.Controller/Library/ILibraryManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index f5e3d7034e..f4c2196400 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -784,5 +784,12 @@ namespace MediaBrowser.Controller.Library /// <param name="query">The query filter.</param> /// <returns>Aggregated filter values.</returns> QueryFiltersLegacy GetQueryFiltersLegacy(InternalItemsQuery query); + + /// <summary> + /// Gets a list of all language codes of the provided stream type. + /// </summary> + /// <param name="mediaStreamType">The stream type.</param> + /// <returns>List of language codes.</returns> + IReadOnlyList<string> GetMediaStreamLanguages(MediaStreamType mediaStreamType); } } |
