plex imdb tag not adding to folder name

Any questions? Need some help?
Post Reply
nyxtyr
Posts: 2
Joined: 17 Nov 2020, 17:19

plex imdb tag not adding to folder name

Post by nyxtyr »

As seen on the plex documentation at https://support.plex.tv/articles/naming ... dia-files/
/Movies
/Batman Begins (2005) {imdb-tt0372784}
Batman Begins (2005) {imdb-tt0372784}.mp4
The imdb id is in the folder name and file name but when using the filebot renaming format below it only adds the imdb tag to the filename and not the folder. Does anyone know any way I can add it to the folder and filename?

When using this

Code: Select all

Y:/{plex.derive{" {imdb-$imdbid}"}}
It resaults to this

Code: Select all

Y:/Movies/Avatar (2009)/Avatar (2009) {imdb-tt0499549}

My desired output would be

Code: Select all

Y:/Movies/Avatar (2009) {imdb-tt0499549}/Avatar (2009) {imdb-tt0499549}.mkv
User avatar
rednoah
The Source
Posts: 19140
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: plex imdb tag not adding to folder name

Post by rednoah »

I'm pretty sure it's fine either way. But you can always further customize your format. Unfortunately, File.derive() can only be used to append information to the filename.

e.g.

Code: Select all

Y:/Movies/{ny}{" {imdb-$imdbid}"}/{ny}{" {imdb-$imdbid}"}
or

Code: Select all

Y:/{plex.parent}{" {imdb-$imdbid}"}/{plex.derive{" {imdb-$imdbid}"}.name}
:idea: Please read the FAQ and How to Request Help.
nyxtyr
Posts: 2
Joined: 17 Nov 2020, 17:19

Re: plex imdb tag not adding to folder name

Post by nyxtyr »

I tested

Code: Select all

Y:/{plex.parent}{" {imdb-$imdbid}"}/{plex.derive{" {imdb-$imdbid}"}.name}
and this works perfectly. Thank you for the reply much appreciated.
Post Reply