Merge pull request #9787 from TheMelmacian/feature/language_filters

New filters for audio and subtitle languages
This commit is contained in:
Bond-009
2026-05-15 15:44:22 +02:00
committed by GitHub
12 changed files with 177 additions and 9 deletions

View File

@@ -2,6 +2,7 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Model.Querying
@@ -12,10 +13,16 @@ namespace MediaBrowser.Model.Querying
{
Tags = Array.Empty<string>();
Genres = Array.Empty<NameGuidPair>();
AudioLanguages = Array.Empty<NameValuePair>();
SubtitleLanguages = Array.Empty<NameValuePair>();
}
public NameGuidPair[] Genres { get; set; }
public IReadOnlyList<NameGuidPair> Genres { get; set; }
public string[] Tags { get; set; }
public IReadOnlyList<string> Tags { get; set; }
public IReadOnlyList<NameValuePair> AudioLanguages { get; set; }
public IReadOnlyList<NameValuePair> SubtitleLanguages { get; set; }
}
}