Sprijin Bază de date filme (The Movie Database)

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 răspunsuri (pe pagina 1 din 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 :-)

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare