Webhooks: New Plex TV Series Agent/Scanner [Beta]

Server Version#: 1.22.2.4282

So for TV, when the webhook payloads fire, the ‘Guid’ section looks as follows:

"Guid": [
      { "id": "imdb://tt9877958" },
      { "id": "tmdb://2367985" },
      { "id": "tvdb://7862365" }
    ]

For IMDB, that is the correct ID of the episode, but for TMDB, that is not the series ID (same for TVDB). So what are these numbers?

There seems to be no relevant info regarding the series for TMBD. The proper ID’s used to be available when running the old agent. But right now, we’re just left with this.

Will the proper IDs be making a return?

Those are the IMDB, TMDB, and TVDB episode IDs.

IMDB:

"Star Trek: Discovery" That Hope Is You, Part 1 (TV Episode 2020) - IMDb

TMDB:
I’m not aware of a direct web link referencing the episode ID, but I looked it up using the TMDB API. That’s the episode ID.

TVDB:

Star Trek: Discovery - That Hope Is You (1) - TheTVDB.com

Are you looking for the series IDs? Those are available from the grandparentRatingKey.

Honestly, in the context of scrobbling, the top level Series ID with season # and episode # is what makes everything easy. (All of which used to be available)

Yeah there’s no direct link because they rarely rely on the episode ID for anything. The TMDB API for an episode is:

/tv/{tv_id}/season/{season_number}/episode/{episode_number}

But yeah, I can jump through the extra hoops and use their /find endpoint with the imdb external id. Just wanted to avoid the extra calls, but it’s not like they’re expensive or anything

I agree that TMDB episode IDs aren’t very useful. So does TMDB. :slight_smile:

Find issues and episode ID support - Talk — The Movie Database (TMDB)

I think the fastest way to get the Episode and Season numbers is from Plex, as index and parentIndex. (And those will match your episode ordering.)