Поддръжка на 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 изпращане на вашето съобщение
(стрелка надясно) следваща страница
(стрелка наляво) предишна страница

Настройки

Искате ли да го оцените или добавите към списък?

Вход