Using FileBot to rename according to Plex's new naming scheme

I need some practical help with FileBot and renaming existing files to include the IMDB id of the file as is shown in the new naming scheme

I would like to use the FileBot GUI if possible and just insert the IMDB id into position after the movie date. Example:
One Million Years B.C. (1966) {imdb-tt00607782} [[en] 1080p BluRay AVC A3568B24 ].mkv

How can I accomplish this and keep my existing line of arguments:

{plex.derive{' ['+allOf{tags}{audio.language}{vf}{vs}{vc}{crc32}{']'}.join(' ')}}{if (dc > 1) '.'+di}

I am having a hard time getting FileBot to accept the curly bracket in my format as a literal. Using double quotes doesn't work. Neither does single quotes.

A separate issue that pops up when bulk renaming with FileBot. Any short movie files that have been added to subfolders like Interviews, Deleted, Behind The Scenes, will be automatically renamed according the main movie file as a “Movie Part” if they are dragged along into the GUI. How can I stop this from happening when using the GUI? If not possible is there a way to accomplish the rename using the CLI and avoid those subfolders?

Re: bracketing the IMDB id, per @ChuckPa, square brackets work fine for just this purpose. I can confirm, I’m now simply using the tt number in brackets (like [tt0076759] for Star Wars) and the new agent picks it up immediately.

(BTW Chuck, the new movie scanning agent has been awesome.)

1 Like

Thanks. Do you think my other existing brackets will cause an issue? Or does it only look for the first set of brackets and their contents?

I’m honestly not sure! You may need to do a few test scans and report back. My current format is:

Movie (Year) (Version) [IMDBid] [Relevant info like resolution etc].mkv

So back to my example:

Star Wars Episode IV A New Hope (1977) (Despecialized Edition) [tt0076759] [720p].mkv

With the new movie scanner, this gets properly scanned within seconds. It won’t show that it’s the Despecialized Edition; that info is mainly handy when I check the “Get Info” to figure out which file to rename manually.

I simplified my format for now, and was able to get this to work:

{plex.derive{' {imdb-'}{imdbid}{'}'}}

and finally…

{plex.derive{' {imdb-'}{imdbid}{'}'}{' ['+allOf{tags}{audio.language}{vf}{vs}{vc}{crc32}{']'}.join(' ')}}{if (dc > 1) '.'+di}

I would be curious if there is a better/simpler way to format that. I am asking will this format collapse if there is no value for imdbid?

2 Likes

When I’ve renamed movies with no IMDBid value, Filebot simply inserts “tt null” as a placeholder. So theoretically you’re ok. (Usually I can find it in IMDB and add it manually for those, it’s pretty rare)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.