update moviedb providers
This commit is contained in:
parent
99833681c3
commit
734ebdab95
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user