Let's use https://www.themoviedb.org/tv/65249 as example.
zh-TW
I cannot think of where could the API get the "Episode 1" value. I also don't know how to correct it, since we only support four-letter language+country code. Shouldn't we just fallback two-letter language code to the closest match?
This particular issue affects Plex TMDb agent since Plex only has setting for language, but not country. So their queries to TMDb use two-letter language code. As the result, I found the data I added in Mandarin (zh-CN) does not reflects in my Plex db .
Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.
Want to rate or add this item to a list?
Not a member?
Odgovorio Greg
dana 28 veljača 2017 u 12:55 PM
Anybody?
Odgovorio Travis Bell
dana 1 ožujak 2017 u 6:48 PM
The fallback data you were seeing was because there was a translation created but the data was empty. The data is now showing correctly of course, because the translation was filled in.
Odgovorio Greg
dana 2 ožujak 2017 u 3:03 AM
@travisbell could any one create a translation for "zh" without country code?
Odgovorio Travis Bell
dana 2 ožujak 2017 u 10:34 AM
zh
defaults tozh-CN
. But I think it's the same thing I mentioned above.zh
was cached on the API already so when you did your investigating, you were getting data from before you made your edits.zh-CN
was not cached so you saw the correct data right away.Odgovorio Greg
dana 3 ožujak 2017 u 3:20 PM
@travisbell gotcha, so it is basically cache delay. The API result looks good now. However my Plex server is still not picking up the right data
. Will have to debug more there. Thanks for explaining it!