aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-05-15 15:44:22 +0200
committerGitHub <noreply@github.com>2026-05-15 15:44:22 +0200
commit9d420271ad4d9468683fda79d906bcd348f4979c (patch)
treed6adbc5e2bc327242c50c81e200167720cdbd3d2 /MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs
parentd93e2d6667872ea16c523202f200c873fc8191ad (diff)
parentfae4950ac2b5918081198ee5f876dd82ca81ae5d (diff)
Merge pull request #9787 from TheMelmacian/feature/language_filters
New filters for audio and subtitle languages
Diffstat (limited to 'MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs')
-rw-r--r--MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs b/MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs
index 665129eafd..de04ff021d 100644
--- a/MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs
+++ b/MediaBrowser.Controller/Persistence/IMediaStreamRepository.cs
@@ -22,6 +22,13 @@ public interface IMediaStreamRepository
IReadOnlyList<MediaStream> GetMediaStreams(MediaStreamQuery filter);
/// <summary>
+ /// Gets all language codes of the provided stream type.
+ /// </summary>
+ /// <param name="mediaStreamType">The type of the media stream.</param>
+ /// <returns>IEnumerable{string}.</returns>
+ IReadOnlyList<string> GetMediaStreamLanguages(MediaStreamType mediaStreamType);
+
+ /// <summary>
/// Saves the media streams.
/// </summary>
/// <param name="id">The identifier.</param>