update moviedb providers

This commit is contained in:
Luke Pulverenti 2016-03-12 10:19:35 -05:00
parent 99833681c3
commit 734ebdab95
3 changed files with 3 additions and 3 deletions

View File

@ -168,7 +168,7 @@ namespace MediaBrowser.Providers.BoxSets
if (!string.IsNullOrEmpty(language)) if (!string.IsNullOrEmpty(language))
{ {
url += string.Format("&language={0}", language); url += string.Format("&language={0}", MovieDbProvider.NormalizeLanguage(language));
// Get images in english and with no language // Get images in english and with no language
url += "&include_image_language=" + MovieDbProvider.GetImageLanguagesParam(language); url += "&include_image_language=" + MovieDbProvider.GetImageLanguagesParam(language);

View File

@ -201,7 +201,7 @@ namespace MediaBrowser.Providers.TV
if (!string.IsNullOrEmpty(language)) if (!string.IsNullOrEmpty(language))
{ {
url += string.Format("&language={0}", language); url += string.Format("&language={0}", MovieDbProvider.NormalizeLanguage(language));
} }
var includeImageLanguageParam = MovieDbProvider.GetImageLanguagesParam(language); var includeImageLanguageParam = MovieDbProvider.GetImageLanguagesParam(language);

View File

@ -301,7 +301,7 @@ namespace MediaBrowser.Providers.TV
if (!string.IsNullOrEmpty(language)) if (!string.IsNullOrEmpty(language))
{ {
url += string.Format("&language={0}", language); url += string.Format("&language={0}", MovieDbProvider.NormalizeLanguage(language));
// Get images in english and with no language // Get images in english and with no language
url += "&include_image_language=" + MovieDbProvider.GetImageLanguagesParam(language); url += "&include_image_language=" + MovieDbProvider.GetImageLanguagesParam(language);