The Movie Database Support

Hi, I recently started using the api * themoviedb *. I want to get TV Episode Groups but it doesn't work for me. In this way I am trying but it always responds with status code 404. https://api.themoviedb.org/3/tv/episode_group/7?api_key= <> In this way I try and nothing. what am I doing wrong? Thanks for your time

Response 404 { "status_code": 34, "status_message": "The resource you requested could not be found." }

8 replies (on page 1 of 1)

Jump to last post

You're not specifying a valid episode group ID. Here's a working example for Firefly (id 1437):

Get the list:

https://api.themoviedb.org/3/tv/1437/episode_groups?api_key=###

Retrieve a specific group ("Intended Order, ID: 5b96a55fc3a368567f03dcea"):

https://api.themoviedb.org/3/tv/episode_group/5b96a55fc3a368567f03dcea?api_key=###

You'll want to double check you're grabbing the correct id, all of the episode group IDs are going to be 24 characters like my example above.

Greetings Travis and thanks for answering.

Thanks to you I managed to make it work. :)

Travis and if I wanted to bring a list with more episodes as it would be?

This way (https://api.themoviedb.org/3/tv/1437/episode_groups?api_key=###) it works but if I try with another id it doesn't work for me.

I already tried with these ids and nothing. 44217 - vikings 60735 -the flash and others and I always receive an empty array {"results": [], "id": 60735}

hehehehe ok :) thank you very much broth

Hi guys, I tried the episode groups endpoint and I noticed that some tv-series have episode groups and some not. I wanted to ask what is the purpose of episode groups and why some tv-series have and some not?

p.s I searched the forums and the docs but I didn't understand what is about. This is the most related topic.

Thanks, Alex

I wanted to ask what is the purpose of episode groups and why some tv-series have and some not?

They are simply alternative episode orders. A TV series like The Flash, who has a continuous storyline and no special episodes, is less likely to have alternative orders. The production order and all subsequent releases--DVD, digital platforms (eg. Netflix, iTunes, Amazon), international & syndication broadcast-- will most likely match the original seasons. But a lot of TV shows have one or more alternative orders.

Hi Banana, I appreciate your time.

So the example you provided have 2 groups.

The difference is that the session 4 of the DVD group have 24 episodes and the session 4 of the VOD group have 25 episodes.

So when I query the API to get the episodes of the sessions or I simply visit the session 4 page it shows 24 episodes which is for the DVD group.

My question is, is there a rule which group to display as primary one ? Is there a reason for example the DVD group is shown as the primary instead of VOD ?

Thank you!

@vegetinio said:

My question is, is there a rule which group to display as primary one ? Is there a reason for example the DVD group is shown as the primary instead of VOD ?

There is no assumed order to episode groups. You'll have to make your own rules client side.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login