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

All your suggestions, requests and ideas for future development
Post Reply
User avatar
Wolfie
Posts: 156
Joined: 27 Oct 2015, 02:59

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

Post 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?
User avatar
rednoah
The Source
Posts: 24553
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 156
Joined: 27 Oct 2015, 02:59

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

Post 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.
User avatar
rednoah
The Source
Posts: 24553
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Wolfie
Posts: 156
Joined: 27 Oct 2015, 02:59

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

Post 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.
User avatar
rednoah
The Source
Posts: 24553
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
Post Reply