MediaElch icon indicating copy to clipboard operation
MediaElch copied to clipboard

Special episodes using TVMaze as scraper don't work

Open juantxorena opened this issue 2 years ago • 5 comments

Scrapers that don't work:

  • [ ] IMDb
  • [ ] OFDb
  • [ ] TMDb
  • [ ] TmdbConcert
  • [ ] TvTunes
  • [ ] AEBN
  • [ ] AdultDvDEmpire
  • [ ] HotMovies
  • [ ] VideoBuster
  • [X] TVMaze

Details which are wrong / not loaded: The special episodes are ignored completely

MediaElch Version:

  • [ ] 2.8.17-dev (nightly)
  • [X] 2.8.16 stable

Operating System:

  • [ ] Windows
  • [ ] macOS
  • [X] Linux (distribution: OpenSuse tumbleweed)

Additional context: Special episodes of series don't scrap at all, probably because they don't have an episode number in TVMaze. Example, The film " El Camino: A Breaking Bad Movie", which in TVMaze is a special episode of the 5th season of the show. No matter the location of the file, the name of the file, the id of the episode, etc., it will be ignored. It doesn't even show when "Show missing episodes" is selected (although AFAIK that uses TMDb)

juantxorena avatar Apr 15 '22 17:04 juantxorena

Hi,

what filename does the special episode have? We require it to have a season and episode number. Most users use season 0 as the season for special episodes.

Regards, Andre

bugwelle avatar Apr 22 '22 20:04 bugwelle

I've tried with multiple names, such as 0x05, s00e05, 5xS, 5x17, anything you can thing of. As I said, in TV Maze special episodes don't have an episode number, but an "S": https://www.tvmaze.com/shows/169/breaking-bad/episodes

juantxorena avatar Apr 24 '22 16:04 juantxorena

The TV Maze rules don't seem very clear. Some Specials are within normal Seasons. Others are within the Specials Season. See for example Downton Abbey. But they are all identified only as S. https://www.tvmaze.com/shows/251/downton-abbey/episodes

ticao2 avatar Apr 25 '22 13:04 ticao2

Ok, finally got time to look into this: TVMaze does not have an episode number for special episodes. There isn't a number we could work with... "El Camino a Breaking Bad movie" has:

{
  "id": 2007806,
  "url": "https://www.tvmaze.com/episodes/2007806/breaking-bad-s05-special-el-camino-a-breaking-bad-movie",
  "name": "El Camino: A Breaking Bad Movie",
  "season": 5,
  "number": null,
  "type": "significant_special",
  "airdate": "2019-10-11",
  "airtime": "22:00",
  "airstamp": "2019-10-12T02:00:00+00:00",
  "runtime": 122,
  "rating": {
    "average": 6.6
  },
  "image": {
    "medium": "https://static.tvmaze.com/uploads/images/medium_landscape/405/1012790.jpg",
    "original": "https://static.tvmaze.com/uploads/images/original_untouched/405/1012790.jpg"
  },
  "summary": "<p>Fugitive Jesse Pinkman attempts to outrun his past.</p>",
  "_links": {
    "self": {
      "href": "https://api.tvmaze.com/episodes/2007806"
    },
    "show": {
      "href": "https://api.tvmaze.com/shows/169"
    }
  }
}

Because there isn't a number, I don't know how we would sort multiple specials in the same season if that ever happens... We could look for significant_special.

bugwelle avatar Jul 31 '23 19:07 bugwelle