thetvdb / v4-api

Founded in 2006, TheTVDB is one of the longest-running community-driven TV and Movie databases. With content metadata across hundreds of thousands of TV series and movies, TheTVDB powers many of the largest media centers in the market. Developers across the world build and rely upon TheTVDB's APIs to power their apps, utilities, and projects, generating millions of API calls per day. In our GitHub repository you will find all of the necessary support and v4 API documentation to make use of TheTVDB's metadata. Come and join us!
140 stars 13 forks source link

The season endpoint returns stale episodes #307

Open adriana-saroz opened 1 year ago

adriana-saroz commented 1 year ago

Season 8 of The Late Show with Stephen Colbert shows 108 episodes, however the /season/2018404/extended endpoint returns additional episodes that were since moved to Season 9, such as

{
    "id": 10069840,
    "seriesId": 289574,
    "name": "Arnold Schwarzenegger, Alex Newell",
    "aired": "2023-10-09",
    "runtime": null,
    "nameTranslations": ["eng"],
    "overview": null,
    "overviewTranslations": [],
    "image": null,
    "imageType": null,
    "isMovie": 0,
    "seasons": null,
    "number": 112,
    "seasonNumber": 8,
    "lastUpdated": "2023-10-04 21:54:00",
    "finaleType": null,
    "year": "2023"
}

Season 9 returns the same episode id with a different title

{
    "id": 10069840,
    "seriesId": 289574,
    "name": "Arnold Schwarzenegger, Metric",
    "aired": "2023-10-09",
    "runtime": null,
    "nameTranslations": ["eng"],
    "overview": "Stephen welcomes actor Arnold Schwarzenegger and a musical performance by Metric.",
    "overviewTranslations": ["eng"],
    "image": "https://artworks.thetvdb.com/banners/v4/episode/10069840/screencap/65259335d2836.jpg",
    "imageType": 11,
    "isMovie": 0,
    "seasons": null,
    "number": 5,
    "seasonNumber": 9,
    "lastUpdated": "2023-10-10 18:08:55",
    "finaleType": null,
    "year": "2023"
}
antheaezzell commented 1 year ago

We will look into this @adriana-saroz thanks for reporting. Internal ticket for our reference: https://whipmedia.atlassian.net/browse/CDP-1468

antheaezzell commented 1 year ago

We will prioritize the work for this issue next sprint @adriana-saroz but I believe this use case is solved for.

antheaezzell commented 12 months ago

@adriana-saroz we have further work to do on this issue, but in regards to this show, it should not be updated in the API. Please let me know if you see otherwise.