more subtitles fixes (#1823)

This commit is contained in:
Jason Dove
2024-07-27 22:20:44 -05:00
committed by GitHub
parent 56a58d7a84
commit fb63116b36
5 changed files with 30 additions and 13 deletions
@@ -55,7 +55,7 @@ public static class LanguageCodeQueryableExtensions
.Filter(lc => validCodes.Contains(lc.ThreeCode1) || validCodes.Contains(lc.ThreeCode2))
.ToListAsync();
var result = new System.Collections.Generic.HashSet<string>();
var result = new System.Collections.Generic.HashSet<string>(validCodes);
foreach (LanguageCode language in maybeLanguages)
{
if (!string.IsNullOrWhiteSpace(language.ThreeCode1))