Page 1 of 1

Simple request (if possible). episode.imdb = IMDb tt#

Posted: 09 May 2026, 12:18
by Wolfie
TMDb sometimes has the IMDb ID matching the specific episode vs the overall series. I don't know if it's available via API calls, but if it is, adding it as a property, similar to episode.info?

Re: Simple request (if possible). episode.imdb = IMDb tt#

Posted: 09 May 2026, 13:01
by rednoah
FileBot generally only used series TMDB ID / IMDB ID. We generally don't support episode-level IMDB. I'm pretty sure that TMDB does not maintain IMDB IDs for episodes. The best I can give you is {episode.id} which will give you the numeric episode ID for your selected database. I would not use that in file names though as to ensure that number is not mistaken as series ID.

Re: Simple request (if possible). episode.imdb = IMDb tt#

Posted: 09 May 2026, 15:46
by Wolfie
Superman & Lois, series = tt11192306
s01e01 = tt11608512

https://www.themoviedb.org/tv/95057-sup ... ternal_ids

Friends, series = tt0108778
s06e05 = tt0756481

https://www.themoviedb.org/tv/1668-frie ... ternal_ids

I know that it won't necessarily be available for every episode of every series, but it could come in handy to be able to have the information assuming that it's available via the API. If an episode doesn't have it, then oh well, nothing you can do about it.

Re: Simple request (if possible). episode.imdb = IMDb tt#

Posted: 09 May 2026, 16:30
by rednoah
Well, the problem with IMDB IDs is that they're a bit useless because IMDB in general is a bit useless, for programs anyway. You'll want TMDB / TVDB IDs because that's where we have APIs that can use those IDs to retrieve episode information.

Re: Simple request (if possible). episode.imdb = IMDb tt#

Posted: 10 May 2026, 00:36
by Wolfie
I'm thinking of internal referencing. Having episode.tvdb and episode.tmdb would be nice too, since you mention it.

An example use is if someone wants a specific episode (of a specific show, of course) to be named or handled a certain way, they could compare just one ID vs comparing the show and episode number. I'm sure others could find other uses as well.

Re: Simple request (if possible). episode.imdb = IMDb tt#

Posted: 10 May 2026, 02:12
by rednoah
You could use {tmdb-95057} S01E01 as ID for such purposes. That'd be better at identifying the episode and more human-readable compared to tt11608512. The numeric TMDB Episode ID is available but again not all that useful, since TMDB itself doesn't even use the Episode ID for lookup purposes.


UPDATE
FileBot r10972 adds support for the API bindings you need to added episode-specific external IDs to the file name:

Format: Select all

{ episode.externalIds } 
** NOTE: adding episode-specific IMDB IDs is - in my opinion - not a good idea but in the end it is up to you and you decide what works best for you