Film Veri Tabanı Desteği

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.

7 yanıt (toplam 1 sayfanın 1.sayfasında)

Jump to last post

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.

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!

@falcon_scorpion said:

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.

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).

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?

You need to use the website. No data can be set using the API.

Note : The value should always be rounded up.

It worked, thank you for your help!

@superboy97 said:

@falcon_scorpion said:

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.

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).

I tried to fetch the run time through the TV episode endpoint, but the API returned null even though I manually added the run time on the TMDB Website. I added the run time and saved it on the TMDB website for the TV show
Scorpion Season 3 Episode 1, but the run time was returned as null when I retrieved the episode detail. I have attached the JSON payload below. Why is there a delay? I added the run time couple of hours ago and the API is still not returning the value.

{
    "air_date" : "2016-10-03",
    "crew" : 
    "id" : 1222265,
    "name" : "Civil War",
    "overview" : "The team members set aside their personal and romantic issues when hackers take over targeted U.S. military aircraft and war ships, pointing the weaponry at American cities.",
    "production_code" : "",
    "runtime" : null,
    "season_number" : 3,
    "still_path" : "/kV52OElXISWdpyOLi8Nxs8fnvVM.jpg",
    "vote_average" : 7.1,
    "vote_count" : 9
}

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?

You need to use the website. No data can be set using the API.

Note : The value should always be rounded up.

It can take up to 8 hours for the API cache to expire.

@superboy97 said:

It can take up to 8 hours for the API cache to expire.

It doesn't make sense to have such a long delay, especially when my app is a database. I'd rather do data entry in my app rather than this website.

Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.

Genel

s arama çubuğuna odaklan
p profil menüsünü aç
esc açık bir pencereyi kapat
? klavye kısayol penceresini aç

Medya sayfalarında

b geri git (veya uygulanabilirse ana ekrana)
e sayfayı düzenlemeye git

TV sezonu sayfalarında

(sağa ok) sonraki sezona git
(sol ok) önceki sezona git

TV bölüm sayfalarında

(sağa ok) sonraki bölüme git
(sol ok) önceki bölüme git

Tüm görüntü sayfalarında

a resim ekle penceresini aç

Tüm düzenleme sayfalarında

t çeviri seçiciyi aç
ctrl+ s formu gönder

Tartışma sayfalarında

n yeni tartışma oluştur
w izleme durumunu değiştir
p umumi/hususi değiştir
c kapalı/açık değiştir
a etkinliği aç
r tartışmayı yanıtla
l son yanıta git
ctrl+ enter mesajını gönder
(sağa ok) sonraki sayfa
(sol ok) önceki sayfa

Ayarlar

Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?

Giriş