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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by superboy97
on май 27, 2024 at 11:48 PM
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.
Reply by falcon_scorpion
on май 27, 2024 at 11:53 PM
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!
Reply by superboy97
on май 28, 2024 at 12:02 AM
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.
Reply by falcon_scorpion
on май 28, 2024 at 11:22 PM
It worked, thank you for your help!
Reply by falcon_scorpion
on май 29, 2024 at 2:39 AM
Reply by superboy97
on май 29, 2024 at 3:11 AM
It can take up to 8 hours for the API cache to expire.
Reply by falcon_scorpion
on май 29, 2024 at 1:22 PM