TVDB DVD Order seasons support
TVDB supports multiple season ordering now. This seems to be screwing up some series. For example
- Downton Abbey Seasons 2-5
- Archer season 3
These two examples added a DVD order season with episodes that were considered specials before now in the regular season. But Trakt didn't maintain the same episode IDs. I had checked in to the specials in my watched history, but these new episodes are not watched. Also, episode images are wrong for some of these, specifically Archer.

-
R commented
So for Archer DVD Season 3 ( https://api.thetvdb.com/series/110381/episodes/query?dvdSeason=3 ) it returns (truncated):
{
"links": {
"first": 1,
"last": 1,
"next": null,
"prev": null
},
"data": [
{
"id": 4162139,
"airedSeason": 0,
"airedSeasonID": 109111,
"airedEpisodeNumber": 4,
"episodeName": "Heart of Archness: Part I",
"firstAired": "2011-09-15",
"guestStars": [],
"directors": [],
"writers": [],
"overview": "Malory hires an adventurer named Rip Riley (voice of Patrick Warburton) to find Archer, who has been missing since his fiancée was murdered on their wedding day. Rip finds him on a tropical island, but Archer has no interest in leaving.",
"language": {
"episodeName": "en",
"overview": "en"
},
"productionCode": "",
"showUrl": "",
"lastUpdated": 1578939981,
"dvdDiscid": "",
"dvdSeason": 3,
"dvdEpisodeNumber": 1,
"dvdChapter": null,
"absoluteNumber": null,
"filename": "episodes/110381/4162139.jpg",
"seriesId": 110381,
"lastUpdatedBy": 16553,
"airsAfterSeason": null,
"airsBeforeSeason": 3,
"airsBeforeEpisode": 1,
"imdbId": "tt2046353",
"contentRating": "TV-MA",
"thumbAuthor": 1,
"thumbAdded": "2019-11-13 11:42:53",
"thumbWidth": "640",
"thumbHeight": "360",
"siteRating": 8.2,
"siteRatingCount": 960,
"isMovie": 0
},
{
"id": 4164047,
"airedSeason": 0,
"airedSeasonID": 109111,
"airedEpisodeNumber": 5,
"episodeName": "Heart of Archness: Part II",
"firstAired": "2011-09-22",
"guestStars": [],
"directors": [],
"writers": [],
"overview": "On the tropical island, Archer has emerged as Pirate King and must deal with it. Meanwhile, his ISIS colleagues keep up their attempts to rescue him. Sort of. ",
"language": {
"episodeName": "en",
"overview": "en"
},
"productionCode": "",
"showUrl": "",
"lastUpdated": 1578939990,
"dvdDiscid": "",
"dvdSeason": 3,
"dvdEpisodeNumber": 2,
"dvdChapter": null,
"absoluteNumber": null,
"filename": "episodes/110381/4164047.jpg",
"seriesId": 110381,
"lastUpdatedBy": 16553,
"airsAfterSeason": null,
"airsBeforeSeason": 3,
"airsBeforeEpisode": 1,
"imdbId": "tt2046354",
"contentRating": "TV-MA",
"thumbAuthor": 1,
"thumbAdded": "2019-11-13 11:42:53",
"thumbWidth": "640",
"thumbHeight": "360",
"siteRating": 8.3,
"siteRatingCount": 1022,
"isMovie": 0
},
{
"id": 4164388,
"airedSeason": 0,
"airedSeasonID": 109111,
"airedEpisodeNumber": 6,
"episodeName": "Heart of Archness: Part III",
"firstAired": "2011-09-29",
"guestStars": [],
"directors": [],
"writers": [],
"overview": "Archer and his fellow prisoners attempt to escape from the Pirate Fortress. Meanwhile, Malory plays hardball in ransom negotiations. Conclusion of a three-part episode.",
"language": {
"episodeName": "en",
"overview": "en"
},
"productionCode": "",
"showUrl": "",
"lastUpdated": 1578939999,
"dvdDiscid": "",
"dvdSeason": 3,
"dvdEpisodeNumber": 3,
"dvdChapter": null,
"absoluteNumber": null,
"filename": "episodes/110381/4164388.jpg",
"seriesId": 110381,
"lastUpdatedBy": 16553,
"airsAfterSeason": null,
"airsBeforeSeason": 3,
"airsBeforeEpisode": 1,
"imdbId": "tt2054900",
"contentRating": "TV-MA",
"thumbAuthor": 1,
"thumbAdded": "2019-11-13 11:42:53",
"thumbWidth": "640",
"thumbHeight": "360",
"siteRating": 7.9,
"siteRatingCount": 898,
"isMovie": 0
},
{
"id": 4171788,
"airedSeason": 3,
"airedSeasonID": 465786,
"airedEpisodeNumber": 1,
"episodeName": "The Man From Jupiter",
"firstAired": "2012-01-19",
"guestStars": [
"Burt Reynolds"
],
"directors": [],
"writers": [],
"overview": "Archer is shocked to learn that his mother is dating Archer's idol/hero/man-crush, Burt Reynolds.",
"language": {
"episodeName": "en",
"overview": "en"
},
"productionCode": "",
"showUrl": "",
"lastUpdated": 1576138290,
"dvdDiscid": "",
"dvdSeason": 3,
"dvdEpisodeNumber": 4,
"dvdChapter": null,
"absoluteNumber": null,
"filename": "episodes/110381/4171788.jpg",
"seriesId": 110381,
"lastUpdatedBy": 136801,
"airsAfterSeason": null,
"airsBeforeSeason": null,
"airsBeforeEpisode": null,
"imdbId": "tt2158993",
"contentRating": "TV-MA",
"thumbAuthor": 1,
"thumbAdded": "2019-11-13 11:42:53",
"thumbWidth": "640",
"thumbHeight": "360",
"siteRating": 8.1,
"siteRatingCount": 1765,
"isMovie": 0
},//rest of season 3 is here
}
]
} -
R commented
So for archer ( https://api.thetvdb.com/series/110381/episodes/summary )
it returns :{
"data": {
"airedSeasons": [
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11"
],
"airedEpisodes": "126",
"dvdSeasons": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10"
],
"dvdEpisodes": "110"
}
} -
R commented
Actually the API does provide this:
1. First get the DVD seasons via /series/{id}/episodes/summary
https://api.thetvdb.com/swagger#!/Series/get_series_id_episodes_summary2. Then get the episodes via /series/{id}/episodes/query?dvdSeason={dvdSeason}
https://api.thetvdb.com/swagger#!/Series/get_series_id_episodes_query -
AdminJustin (Founder, Trakt) commented
TVDB doesn’t expose the seasons through their api yet. We’ll look into this once they do.
As for those shows, they were messed up on TVDB and we’ll correct them on Trakt.
-
Ilyssa commented
The DVD order isn't applying to Trakt, people have been moving the episodes of the official order on TVDB and then they were since moved back and locked, just need them to be manually fixed on Trakt now because Trakt doesn't automatically remove extra episodes from seasons.
Episode screenshots are sourced from themoviedb.org first with TVDB as a fallback so if they exist there, that's where there can be some discrepancies sometimes.