Υποστήριξη για το 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 απαντήσεις(στη σελίδα 1 από 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 :-)

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση