Hi, I am trying to get movie details in this link: movie/get details but returned value for runtime is null and for videos list is empty, can some one help?
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 12. April 2017 um 18:57
Hi Orwa,
Both of those pieces of data are only going to be present if they have been added to the database as part of the "AR" translation. Unfortunately, Arabic is not a particular popular language on TMDb so most movies don't have that data.
https://www.themoviedb.org/movie/42357?language=ar-AR (has runtime)
Is one example that has some AR data, including a runtime. But I just did a DB query and only 170 movies have a runtime added to their Arabic translation. There's only 426 movies with a Arabic overview.
Antwort von Orwa Kassab
am 16. April 2017 um 04:38
Thanks @*travisbell * I expected that behavior and reults for arabic language, but I had to make sure of that. There is one question: Why don't you add content in English language when no data available for specified language like Arabic?
Antwort von Travis Bell
am 17. April 2017 um 20:45
We've never had language fallbacks on language data like that. Part of it is because we want people to be aware of the gaps in the data (this was more true years ago than today), but also because the API has traditionally been cached. We're moving away from caching data more and more but the problem there is that not every would want English so it was easier to just not cache it at all.
Antwort von Orwa Kassab
am 18. April 2017 um 03:06
Thanks for your time again. I understand now.