The Movie Database 支持

Is there any way to get the episode information by tvshow ID and episode Aired date? Or I have to call first all seasons and episodes of a tv show?

4 回复(第 1 页,共 1 页)

Jump to last post

Hi Stephan,

To help me out here, can you give me an example of the query you would make and the expected response? I am not totally clear what you're looking for.

Thanks!

Hi Travis

Fo example, a user want to scrape a file like "the simpsons - 2010-05-02.mkv". This is also supported in Kodi and our software Ember Media Manager and very easy to scrape with TVDB. One API call give back the complete list of all episodes informations of a show and we can simply search the aired date in the episode list.

But with your API, i have to:

  • call the tv show
  • run trough each season and call GetTVSeason for each season to get the episodes list
  • filter episode list by Aired date (and maybe call GetTVEpisode to get the informations with external_ids)

For my example "the simpsons - 2010-05-02.mkv" (it's season 21 episode 20) i have do 22 API calls (one for the tv show, 21 for each season from 1 to 21) to find the episode with aired date 2010-05-02.
It would save a lot of API calls, if we could directly search for the episode with tv show ID and episode aired date.

Do not understand me wrong, I will only reduce the API calls to a minimum ;-)

Ok, gotcha now. I wasn't clear on your desired way to query for the episode.

So, this is probably the first or second real use case of a /discover/tv/episode method (or episode search, I'm not entirely sure). I have a ticket to think about how this could work and the potential use cases for it here.

I'll have to give this some more thought.

Yes, my english is not the best and sometime a little be confused ;-)

But thank you, it will be great if you can add this query to your API.

Btw, is this the right place to tell you potential new ideas for the API or should i use the lighthouseapp/ticket page?

找不到电影或节目?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)上一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

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

登录

还不是会员?

注册加入社区