Season with no season number and not visible on site

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
n0rua
Posts: 43
Joined: Tue Apr 22, 2014 12:01 pm

Season with no season number and not visible on site

Postby n0rua » Fri Aug 04, 2017 12:03 pm

I'm using API v2 (series/id/episodes) to retrieve the complete list of episodes, and there is a show (Sense8) in which the API returns some episodes that have a Season ID but no season number.

One of them:

Code: Select all

 {
      "absoluteNumber": null,
      "airedEpisodeNumber": 5,
      "airedSeason": null,
      "airedSeasonID": 723065,
      "dvdEpisodeNumber": null,
      "dvdSeason": null,
      "episodeName": null,
      "firstAired": "2019-03-08",
      "id": 6233039,
      "language": {
        "episodeName": "",
        "overview": ""
      },
      "lastUpdated": 1501588165,
      "overview": null
    },


Is this correct behaviour? There can be episodes with no season number?
Plus, the weird thing is that the public website does not list these episodes.

DarklightIndigo
Just zis guy, you know?
Posts: 7642
Joined: Sun Apr 27, 2014 9:16 am
Location: San Francisco
Contact:

Re: Season with no season number and not visible on site

Postby DarklightIndigo » Fri Aug 04, 2017 1:27 pm

I wondered if we'd caught all those.
No, those are improperly removed Specials, and they can be viewed under Absolute Order on the All Seasons listing.
I took care of those.
Strangers are just the friends we haven't met yet.

n0rua
Posts: 43
Joined: Tue Apr 22, 2014 12:01 pm

Re: Season with no season number and not visible on site

Postby n0rua » Fri Aug 04, 2017 1:46 pm

Thanks. So, in general, if I encounter other episodes that have no "airedSeason" value, I should ignore them?

DarklightIndigo
Just zis guy, you know?
Posts: 7642
Joined: Sun Apr 27, 2014 9:16 am
Location: San Francisco
Contact:

Re: Season with no season number and not visible on site

Postby DarklightIndigo » Fri Aug 04, 2017 3:42 pm

From a programmatic standpoint, yes, but we'd appreciate knowing about them so we can fix them. They tend to crop up in older, locked series though, so they should be relatively rare.
Strangers are just the friends we haven't met yet.

wayned42
Posts: 390
Joined: Thu Jul 18, 2013 5:18 pm

Re: Season with no season number and not visible on site

Postby wayned42 » Sun Sep 24, 2017 9:59 pm

The show Twin Peaks (70533) has 2 episodes with a null "airedSeason" in the API data. Here are the "id" numbers:
  • 6322836
  • 6322840


Spark
Posts: 16
Joined: Mon Sep 25, 2017 10:52 am

Re: Season with no season number and not visible on site

Postby Spark » Fri Oct 06, 2017 6:19 am

Hi,

Narcos seems to have some too:

Issue with episode 6307164 for series 282670 airedSeason = null
Issue with episode 6307164 for series 282670 for EpNum 2 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307165 for series 282670 airedSeason = null
Issue with episode 6307165 for series 282670 for EpNum 3 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307166 for series 282670 airedSeason = null
Issue with episode 6307166 for series 282670 for EpNum 4 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307167 for series 282670 airedSeason = null
Issue with episode 6307167 for series 282670 for EpNum 5 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307169 for series 282670 airedSeason = null
Issue with episode 6307169 for series 282670 for EpNum 6 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307170 for series 282670 airedSeason = null
Issue with episode 6307170 for series 282670 for EpNum 7 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307172 for series 282670 airedSeason = null
Issue with episode 6307172 for series 282670 for EpNum 8 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307175 for series 282670 airedSeason = null
Issue with episode 6307175 for series 282670 for EpNum 9 for SeasonID 729084 for ReadSeasonNum -1
Issue with episode 6307176 for series 282670 airedSeason = null
Issue with episode 6307176 for series 282670 for EpNum 10 for SeasonID 729084 for ReadSeasonNum -1

Thanks for cleaning up Dark Matter so quickly

Spark
Posts: 16
Joined: Mon Sep 25, 2017 10:52 am

Re: Season with no season number and not visible on site

Postby Spark » Sun Jan 20, 2019 12:31 am

Hi,

Some more seem to have appeared:
* Issue with episode 6671616 for series 261656 airedSeason = null
* Issue with episode 6671617 for series 261656 airedSeason = null
* Issue with episode 6671618 for series 261656 airedSeason = null

Can you take a look please?

Cheers - Many Thanks


{ "id": 6671617, "airedSeason": null, "airedSeasonID": 762983, "airedEpisodeNumber": 3, "episodeName": null, "firstAired": "", "guestStars": [], "director": "", "directors": [], "writers": [], "overview": null, "language": { "episodeName": "en", "overview": "en" }, "productionCode": "", "showUrl": "", "lastUpdated": 1525007300, "dvdDiscid": "", "dvdSeason": null, "dvdEpisodeNumber": null, "dvdChapter": null, "absoluteNumber": null, "filename": "", "seriesId": 261656, "lastUpdatedBy": 422210, "airsAfterSeason": null, "airsBeforeSeason": null, "airsBeforeEpisode": null, "thumbAuthor": 1, "thumbAdded": "", "thumbWidth": null, "thumbHeight": null, "imdbId": "", "siteRating": 0, "siteRatingCount": 0 }
{ "id": 6671618, "airedSeason": null, "airedSeasonID": 762983, "airedEpisodeNumber": 4, "episodeName": null, "firstAired": "", "guestStars": [], "director": "", "directors": [], "writers": [], "overview": null, "language": { "episodeName": "en", "overview": "en" }, "productionCode": "", "showUrl": "", "lastUpdated": 1525007377, "dvdDiscid": "", "dvdSeason": null, "dvdEpisodeNumber": null, "dvdChapter": null, "absoluteNumber": null, "filename": "", "seriesId": 261656, "lastUpdatedBy": 422210, "airsAfterSeason": null, "airsBeforeSeason": null, "airsBeforeEpisode": null, "thumbAuthor": 1, "thumbAdded": "", "thumbWidth": null, "thumbHeight": null, "imdbId": "", "siteRating": 0, "siteRatingCount": 0 }
{ "id": 6671616, "airedSeason": null, "airedSeasonID": 762983, "airedEpisodeNumber": 2, "episodeName": null, "firstAired": "", "guestStars": [], "director": "", "directors": [], "writers": [], "overview": null, "language": { "episodeName": "en", "overview": "en" }, "productionCode": "", "showUrl": "", "lastUpdated": 1525007222, "dvdDiscid": "", "dvdSeason": null, "dvdEpisodeNumber": null, "dvdChapter": null, "absoluteNumber": null, "filename": "", "seriesId": 261656, "lastUpdatedBy": 422210, "airsAfterSeason": null, "airsBeforeSeason": null, "airsBeforeEpisode": null, "thumbAuthor": 1, "thumbAdded": "", "thumbWidth": null, "thumbHeight": null, "imdbId": "", "siteRating": 0, "siteRatingCount": 0 }