Use language supplied as argument instead of reading from TvDbClient

This commit is contained in:
Claus Vium 2019-02-12 21:06:31 +01:00
parent dfbf5fc9fa
commit 828434058f

View File

@ -321,7 +321,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
series.SetProviderId(MetadataProviders.Tvdb, tvdbSeries.Id.ToString());
series.Name = tvdbSeries.SeriesName;
series.Overview = (tvdbSeries.Overview ?? string.Empty).Trim();
result.ResultLanguage = TvDbClientManager.Instance.TvDbClient.AcceptedLanguage;
result.ResultLanguage = metadataLanguage;
series.AirDays = TVUtils.GetAirDays(tvdbSeries.AirsDayOfWeek);
series.AirTime = tvdbSeries.AirsTime;