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 的回复
于 2024 年 10 月 23 日 8: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 的回复
于 2024 年 10 月 23 日 8:20上午
Shucks! I guess I am forced to make 2 separate requests then :(
Thanks for the information.
falez 的回复
于 2024 年 10 月 23 日 9: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 的回复
于 2024 年 10 月 23 日 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 的回复
于 2024 年 10 月 23 日 1:03下午
hm, so is response.episode_runtime an array that contains the runtime of each episode as a number?
ticao2 🇧🇷 pt-BR 的回复
于 2024 年 10 月 24 日 9:29上午
I think so. In minutes.
Of course, some user needs to add this data.
falez 的回复
于 2024 年 10 月 24 日 2:13下午
Ah, I see. Thanks again for your help!!