Handle xx as TMDb no language for backdrops (#14941)

This commit is contained in:
Cody Robibero
2025-10-04 13:04:35 -06:00
committed by GitHub
parent bf69f9d8a8
commit ff0a1b999f
2 changed files with 5 additions and 1 deletions

View File

@@ -185,7 +185,10 @@ namespace MediaBrowser.Providers.Plugins.Tmdb
return requestLanguage;
}
return imageLanguage;
// TMDb now returns xx for no language instead of an empty string.
return string.Equals(imageLanguage, "xx", StringComparison.OrdinalIgnoreCase)
? string.Empty
: imageLanguage;
}
/// <summary>