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?
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 23 octombrie 2024 la ora 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
Răspuns de falez
pe data de 23 octombrie 2024 la ora 8:20 AM
Shucks! I guess I am forced to make 2 separate requests then :(
Thanks for the information.
Răspuns de falez
pe data de 23 octombrie 2024 la ora 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.
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 23 octombrie 2024 la ora 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.
Răspuns de falez
pe data de 23 octombrie 2024 la ora 1:03 PM
hm, so is response.episode_runtime an array that contains the runtime of each episode as a number?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 24 octombrie 2024 la ora 9:29 AM
I think so. In minutes.
Of course, some user needs to add this data.
Răspuns de falez
pe data de 24 octombrie 2024 la ora 2:13 PM
Ah, I see. Thanks again for your help!!