The Movie Database Support

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.

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

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login