mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
Backport pull request #12026 from jellyfin/release-10.9.z
Check hearing impared flags with equality instead of contains
Original-merge: a89678074e
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
b337371a0c
commit
bfe7d1ee3a
@@ -104,6 +104,7 @@ public class ExternalPathParserTests
|
||||
[InlineData(".en.cc.title", "title", "eng", false, false, true)]
|
||||
[InlineData(".hi.en.title", "title", "eng", false, false, true)]
|
||||
[InlineData(".en.hi.title", "title", "eng", false, false, true)]
|
||||
[InlineData(".Subs for Chinese Audio.eng", "Subs for Chinese Audio", "eng", false, false, false)]
|
||||
public void ParseFile_ExtraTokens_ParseToValues(string tokens, string? title, string? language, bool isDefault = false, bool isForced = false, bool isHearingImpaired = false)
|
||||
{
|
||||
var path = "My.Video" + tokens + ".srt";
|
||||
|
||||
Reference in New Issue
Block a user