The Movie Database atbalsts

Older define series had EpisodeRunTime filled in with a list of ints. I understand that now the episode duration is stored on the episodes but to find the average I would now need to request every single episode get the run time then average them?

Is there a better way? I much prefer the original implementation or if there was a endpoint I can get a subset of data of all episodes with flags on the fields I am interested in.

6 replies (on page 1 of 1)

Jump to last post

The old system doesn't permit to correctly calculate an average.

For example, it was saying that there are episodes that last 50 minutes and other that last 75 minutes, but not how many episodes there was for each value.

Hi @dtaggart,

We've never had a field for the average runtime of a TV show. I did however create a new ticket for us to look at this here.

@superboy97 said:

The old system doesn't permit to correctly calculate an average.

For example, it was saying that there are episodes that last 50 minutes and other that last 75 minutes, but not how many episodes there was for each value.

Ok sure but I am asking if there is a way that to do it now. I get the old way is no longer supported even if it was wrong. What is the correct way to do this is the question.

@travisbell said:

Hi @dtaggart,

We've never had a field for the average runtime of a TV show. I did however create a new ticket for us to look at this here.

Right but you use to provide episode lengths at the series information level that I was able to calculate it myself @superboy97 said it wasn't always "correct" but its better then needing to make 200 request for each episode in the episode api on larger shows.

While on the topic of runtimes for TV shows, I wonder if it's possible to rename the field "Runtime" to "Average episode runtime" (the field I'm referring to can be seen here, for example).

The reason for this is that users often misinterpret this field as the total runtime of a TV series, because there's no indication to suggest otherwise. For film entries, this field relates to the total runtime.

The result is that services that use TMDb's API then experience issues with imported data for TV shows: the "runtime" gets multiplied by the number of episodes, resulting in wild numbers.

If the field could be renamed to be more descriptive about the expected input, it would very much help contributors as well as users of TMDb data. Thank you!

@rubylane said:

While on the topic of runtimes for TV shows, I wonder if it's possible to rename the field "Runtime" to "Average episode runtime" (the field I'm referring to can be seen here, for example).

This field should only be used for the duration of one single episode if all the episodes have the same duration. Otherwise, it should be locked empty.

It should not contain the average episode runtime, nor the total serie runtime.

Thanks @superboy97 - in that case, even more, the function/expected input should be specified by the field's name.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties