Hi,
The TMDB Api returns runtime as NULL or n/a for some of the tv show episodes that have already been aired years ago. Is there a way to fill the empty or missing data?
Thank you.
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de superboy97
le 27 mai 2024 à 23h48
The runtime field at series level is deprecated. It should only be used if all the episodes have the same duration. Otherwise, it should be locked empty.
All our data are provided by our users. So, you are invited to fill the runtime fields at episode level.
Réponse de falcon_scorpion
le 27 mai 2024 à 23h53
So, is there another field that displays the duration of an episode? I need to use it to calculate the number of hours spent watching TV, and without the duration or runtime data points, I cannot calculate that. Also, how can I fill the runtime field at the episode level? Do I have to do it through the API, or can I edit the episode information directly on the TMDB website?
Thank you for your response!
Réponse de superboy97
le 28 mai 2024 à 00h02
As indicate in my previous answer, the runtime field is now at the episode level. You can get it using the TV episode method or the TV season method (in the detail of each episode).
You need to use the website. No data can be set using the API.
Note : The value should always be rounded up.
Réponse de falcon_scorpion
le 28 mai 2024 à 23h22
It worked, thank you for your help!
Réponse de falcon_scorpion
le 29 mai 2024 à 02h39
Réponse de superboy97
le 29 mai 2024 à 03h11
It can take up to 8 hours for the API cache to expire.
Réponse de falcon_scorpion
le 29 mai 2024 à 13h22