mynttt / UpdateTool

A tool to update the IMDB ratings for Plex libraries that contain movies/series and use the IMDB agent to receive ratings
GNU General Public License v3.0
250 stars 12 forks source link

TV Series TVDB: xxxxxxx does not have an IMDB id associated. #14

Closed KrunchMuffin closed 4 years ago

KrunchMuffin commented 4 years ago

So I am watching the logs on first run and I am seeing a ton of these. When I go to look them up on the IMDB they do in fact of an IMDB ID associated with them. I didn't check all, but randomly. Here are some.

 id associated.
[WARN ] - 2020-02-20 15:10:09 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Cerro Gordo Ghost Town with id 83929/19/2 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:11 @ TvdbToImdbResolvement.resolveEpisode: TVDB item The Merchant of Death: Viktor Bout with id 313321/3/7 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:11 @ TvdbToImdbResolvement.resolveEpisode: TVDB item The Bentley Lament with id 366090/1/5 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:11 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Core Values with id 276515/7/2 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:14 @ DefaultResolvement.resolve: Item: has no matching IMDB resolver and will be ignored. (guid=local://26334)
[WARN ] - 2020-02-20 15:10:14 @ TvdbToImdbResolvement.resolveEpisode: TVDB item The Prism with id 308772/4/8 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:15 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Pasadena Ritual House with id 83929/19/3 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:15 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Pasadena Ritual House with id 83929/19/3 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:17 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Operation Firewall: The Takedown of Shadowcrew with id 313321/3/8 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:17 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Operation Firewall: The Takedown of Shadowcrew with id 313321/3/8 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:18 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Fatal Exception with id 354963/1/7 does not have an IMDB id associated.
[WARN ] - 2020-02-20 15:10:18 @ TvdbToImdbResolvement.resolveEpisode: TVDB item Eye of the Swamp with
mynttt commented 4 years ago

Problem is that the TVDB API has the IMDB id field empty for these items.

https://api.thetvdb.com/series/83929/episodes/query?airedSeason=19&airedEpisode=3

A query for 83929/19/3 for example yields this result:

{
  "links": {
    "first": 1,
    "last": 1,
    "next": null,
    "prev": null
  },
  "data": [
    {
      "id": 7445095,
      "airedSeason": 19,
      "airedSeasonID": 832399,
      "airedEpisodeNumber": 3,
      "episodeName": "Pasadena Ritual House",
      "firstAired": "2019-11-16",
      "guestStars": [],
      "directors": [],
      "writers": [],
      "overview": "Zak and the crew investigate the Pasadena, California, home of a self-proclaimed Satanist. A seance conducted inside the historic Victorian house reveals an inhuman presence has attached itself to Aaron and is trying to communicate with him.\r\n",
      "language": {
        "episodeName": "en",
        "overview": "en"
      },
      "productionCode": "",
      "showUrl": "",
      "lastUpdated": 1574017676,
      "dvdDiscid": "",
      "dvdSeason": null,
      "dvdEpisodeNumber": null,
      "dvdChapter": null,
      "absoluteNumber": null,
      "filename": "series/83929/episodes/7445095.jpg",
      "seriesId": 83929,
      "lastUpdatedBy": 27065,
      "airsAfterSeason": null,
      "airsBeforeSeason": null,
      "airsBeforeEpisode": null,
      "imdbId": "",
      "contentRating": "TV-PG",
      "thumbAuthor": 27065,
      "thumbAdded": "2019-11-17 19:07:57",
      "thumbWidth": "640",
      "thumbHeight": "360",
      "siteRating": 0,
      "siteRatingCount": 0,
      "isMovie": 0
    }
  ]
}

Which has the field 'imdbId' blank.

Since we try to resolve TVDB (Plex Agent Match) <=> IMDB Rating this is a problem as we have no idea what the IMDB id of this item is (which we need to lookup the correct rating).

All these items will be blacklisted for 14 days and if the tool runs again another resolvement attempt will be made. Maybe then the IMDB id exists for some of these items.

KrunchMuffin commented 4 years ago

ahhh...ok... that stinks. Thanks!