The Movie Database-ondersteuning

Wondering how to get the list of all episodes for a TV Show (or season of a TV Show). Also, it'd be super handy to be able to get the latest aired episode of a TV Show.

1 antwoord (op pagina 1 van 1)

Jump to last post

Hi vernalkick,

Right now it would take you 2 queries unless you have internally been keeping track of the latest season (like in a local DB).

You would have to grab the series (which displays the list of seasons) and then you could peel off and do a second request for that last season (which returns a list of all episodes for that season). Calling the info for the last season (and grabbing the last aired episode based on air_date) returned in the series call would suit your needs 99% of the time.

There is an edge case here though, if someone adds a new season with some episodes left to air…

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen