The Movie Database Support

Is there any faster way to get all episode images of ALL episodes of a tv show then do a call for each single episode?

2 svar (på sida 1 av 1)

Jump to last post

Hi Stephan,

Probably not, assuming you're talking about having to iterate over each episode and use the /images method.

Could you elaborate as to why you would need to get all the images? Most apps only need to show an episode image when you're looking at a single episode. The season call of course, lists all of the episodes with the still_path.

Cheers.

Hi Travis

sorry for my late answer.

Ember Media Manager is able to rescrape a whole tv show to get all informations and images for each season and episode. The user also can set preferred image properties (resolution, language, format) for each image type to get the best one from TMDB, Fanart.tv, TVDB and from other sources. This is the reason wy we need the /images method. The still_path does not contains any information about resolution.

For me the TMDB tv show API is still not really good to use if you don't only need one single episode or tv show information/image.

For example: The TVDB API needs only 1 API call to get the information and images for the complete tv show.

The TMDB API needs

  • 1 API call to get the tv show information with ContentRatings, Credits, ExternalIds and Images
  • 1 API call for EACH season to get the season information with Credits and ExternalIds
  • 1 API call for EACH episode to get the episode information with Credits and ExternalIds

For the worst case e.g. The Simpsons (with 27 seaons and over 550 episodes) we need nearly 600 API calls to get all informations... with TVDB we need only 1 API call. I know, TMDB has much more informations and also more than only one image for each episode, but it's not really usefull (or simply to slow) for us if we need so many API calls to get the best result.

Now we optimesed our way to get data and reduced the API calls to get the tv show, season and episode informations only (without episode images):

  • 1 API call to get the tv show information with ContentRatings, Credits, ExternalIds and Images
  • 1 API call for EACH season to get the season information with Credits and ExternalIds
  • use the season.episodes container to get episode informations without Credits and ExternalIds

But there is no other way than do an API call for each episode to get all episode images for comparing with other images/sources.

Also ExternalIds is one of the greatest and most useful things to reduce the effort in other/following scrapers/sources to get the images or inforamtion without more checks or filtering. Why that is not included by default in episode inforamtions? Same for images :-)

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in