תמיכת The Movie Database

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 (בדף 1 מתוך 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…

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס