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?
Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.
Want to rate or add this item to a list?
Not a member?
Odgovorio ticao2 🇧🇷 pt-BR
dana 23 listopad 2024 u 8:16 AM
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
Odgovorio falez
dana 23 listopad 2024 u 8:20 AM
Shucks! I guess I am forced to make 2 separate requests then :(
Thanks for the information.
Odgovorio falez
dana 23 listopad 2024 u 9:18 AM
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.
Odgovorio ticao2 🇧🇷 pt-BR
dana 23 listopad 2024 u 10:02 AM
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.
Odgovorio falez
dana 23 listopad 2024 u 1:03 PM
hm, so is response.episode_runtime an array that contains the runtime of each episode as a number?
Odgovorio ticao2 🇧🇷 pt-BR
dana 24 listopad 2024 u 9:29 AM
I think so. In minutes.
Of course, some user needs to add this data.
Odgovorio falez
dana 24 listopad 2024 u 2:13 PM
Ah, I see. Thanks again for your help!!