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." }
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on January 15, 2020 at 3:56 PM
You're not specifying a valid episode group ID. Here's a working example for Firefly (id 1437):
Get the list:
Retrieve a specific group ("Intended Order, ID: 5b96a55fc3a368567f03dcea"):
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.
Reply by alvarowhite
on January 16, 2020 at 10:37 AM
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}
Reply by Travis Bell
on January 16, 2020 at 10:49 AM
There isn't always going to be any episode groups added.
Reply by alvarowhite
on January 16, 2020 at 1:01 PM
hehehehe ok :) thank you very much broth
Reply by vegetinio
on April 6, 2020 at 6:00 PM
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
Reply by Banana
on April 6, 2020 at 8:38 PM
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.
Reply by vegetinio
on April 7, 2020 at 6:44 AM
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!
Reply by Travis Bell
on April 10, 2020 at 10:50 AM
There is no assumed order to episode groups. You'll have to make your own rules client side.