Renaming from <Title><IMDBno>

Any questions? Need some help?
Post Reply
tedg
Posts: 2
Joined: 26 Aug 2021, 18:57

Renaming from <Title><IMDBno>

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

Re: Renaming from <Title><IMDBno>

Post 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]') }
:idea: Please read the FAQ and How to Request Help.
tedg
Posts: 2
Joined: 26 Aug 2021, 18:57

Re: Renaming from <Title><IMDBno>

Post by tedg »

This is immensely helpful. Thanks.
Post Reply