Page 1 of 1

Renaming from <Title><IMDBno>

Posted: 26 Aug 2021, 23:53
by tedg
First post. Relative novice. MacOS version on Big Sur. Movies only (no TV).

I have a great number of movies that are named using the Name followed by the seven digit IMDB ID. For example:

Sparticus 0054331.mkv

Finally moving to Plex, I wish to bulk rename these thus:

Sparticus (1960).mkv

The title is what IMDB uses as its main title. I am finding these differ between IMDB and TMDB. I am hoping there is a way to perform this renaming with Filebot. Many thanks in advance.

Re: Renaming from <Title><IMDBno>

Posted: 27 Aug 2021, 03:34
by rednoah
FileBot uses TheMovieDB, and not IMDb, so this is the movie title you will get:

Code: Select all

Spartacus (1960)

:idea: If you're using Plex, then you'll want to use TheMovieDB in FileBot for renaming, and in Plex for identifying the files. The database / naming must match on both sides.


:idea: You'll want to use Plain File Mode as a pre-processing step to replace all your 0054331 patterns with tt0054331. Adding tt will allow FileBot to recognize the number as the IMDb ID which it can then lookup on TheMovieDB:

Code: Select all

{ fn.replaceAll(/\d{7,11}/, '[tt$0]') }

Re: Renaming from <Title><IMDBno>

Posted: 27 Aug 2021, 07:05
by tedg
This is immensely helpful. Thanks.