Поддержка The Movie Database

Let's use https://www.themoviedb.org/tv/65249 as example.

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 sweat_smile .

5 ответов (на странице 1 из 1)

Jump to last post

Anybody?

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.

@travisbell could any one create a translation for "zh" without country code?

zh defaults to zh-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.

@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 weary. Will have to debug more there. Thanks for explaining it!

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти