fix two letter language code stream selection (#1798)

This commit is contained in:
Jason Dove
2024-07-22 06:54:08 -05:00
committed by GitHub
parent 46f7289db8
commit 4f393d7b06
11 changed files with 42 additions and 15 deletions
@@ -231,7 +231,7 @@ public class SearchRepository : ISearchRepository
new { ArtistId = artist.Id }).Map(result => result.ToList());
}
public virtual async Task<List<string>> GetAllLanguageCodes(List<string> mediaCodes)
public virtual async Task<List<string>> GetAllThreeLetterLanguageCodes(List<string> mediaCodes)
{
await using TvContext dbContext = await _dbContextFactory.CreateDbContextAsync();
return await dbContext.LanguageCodes.GetAllLanguageCodes(mediaCodes);