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 пошаљи поруку
(стрелица надесно) следећа страница
(лева стрелица) претходна страница

Подешавања

Желите ли да оцените или додате ову ставку у листу?

Пријави се