mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00:00
Handle xx as TMDb no language for backdrops (#14941)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user