mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Write out explanation rather than linking to a community (TMDB uppercasing)
This commit is contained in:
parent
00ef953b8e
commit
0584700a76
@ -287,7 +287,8 @@ namespace MediaBrowser.Providers.Movies
|
|||||||
if (!string.IsNullOrEmpty(language))
|
if (!string.IsNullOrEmpty(language))
|
||||||
{
|
{
|
||||||
// They require this to be uppercase
|
// They require this to be uppercase
|
||||||
// https://jellyfin.media/community/index.php?/topic/32454-fr-follow-tmdbs-new-language-api-update/?p=311148
|
// Everything after the hyphen must be written in uppercase due to a way TMDB wrote their api.
|
||||||
|
// See here: https://www.themoviedb.org/talk/5119221d760ee36c642af4ad?page=3#56e372a0c3a3685a9e0019ab
|
||||||
var parts = language.Split('-');
|
var parts = language.Split('-');
|
||||||
|
|
||||||
if (parts.Length == 2)
|
if (parts.Length == 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user