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 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区