בתאריך אפריל 12, 2017 בשעה 2:06אחרי חצות יום פורסם ע״י
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?
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.
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.
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?
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.
תגובה מאת Travis Bell
ב-אפריל 12, 2017 ב-6: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.
תגובה מאת Orwa Kassab
ב-אפריל 16, 2017 ב-4: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?
תגובה מאת Travis Bell
ב-אפריל 17, 2017 ב-8: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.
תגובה מאת Orwa Kassab
ב-אפריל 18, 2017 ב-3:06לפני חצות יום
Thanks for your time again. I understand now.