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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on April 12, 2017 at 6:57 PM
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.
Reply by Orwa Kassab
on April 16, 2017 at 4:38 AM
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?
Reply by Travis Bell
on April 17, 2017 at 8:45 PM
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.
Reply by Orwa Kassab
on April 18, 2017 at 3:06 AM
Thanks for your time again. I understand now.