My app uses /search to search for TV show and movie information. However, the responses do not contain any of the following properties:
I came across the 'append to response' section in the documentation, but none of the requests below append any information to the response. Does anybody know why? What am I doing wrong?
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ticao2 🇧🇷 pt-BR
, 23 октября 2024 в 08:16
Does not work with Search.
Only with the Details method, using the Movie, TV Show or Person item ID.
See
https://developer.themoviedb.org/docs/append-to-response
Ответ от falez
, 23 октября 2024 в 08:20
Shucks! I guess I am forced to make 2 separate requests then :(
Thanks for the information.
Ответ от falez
, 23 октября 2024 в 09:18
Any idea what type of data this array contains? And in what format? So far, it has always returned an empty array for every TV show that I have searched for.
Ответ от ticao2 🇧🇷 pt-BR
, 23 октября 2024 в 10:02
Many years ago, when TMDb was born, there was only the runtime value of a standard episode of a TV series.
In the past, when broadcast TV was the norm, this value was more respected by producers.
The runtime differences between episodes of a series were minimal.
There were laws determining how much advertising or commercial time the broadcasters could show per hour of programming.
If I remember correctly, some countries it was 12 minutes per hour and others it was 8 minutes per hour.
With the advent of Cable TV and Streaming, everything changed.
So users asked for a runtime field to be added with a specific value for each episode.
This field was added to the database about 2 years ago.
If this field is blank, it is because no user has added the value.
The format should be minutes.
Ответ от falez
, 23 октября 2024 в 13:03
hm, so is response.episode_runtime an array that contains the runtime of each episode as a number?
Ответ от ticao2 🇧🇷 pt-BR
, 24 октября 2024 в 09:29
I think so. In minutes.
Of course, some user needs to add this data.
Ответ от falez
, 24 октября 2024 в 14:13
Ah, I see. Thanks again for your help!!