Page 1 of 1

Renaming folders AND files to add [tmdbid=xxxxx]

Posted: 21 Dec 2024, 21:47
by ToxicAvenger
(I completed correcting the typo in tmdbid, thanks again for that!)

NOW, I have literally spent all afternoon trying to add [tmdbid=xxxxx] information to folders and files that don't have it in a single operation. (They already have the title and date.)

- I can LeftClick-Drag the folders into Filebot and it appropriately renames the files in the folder with [tmdbid=xxxxx], but not the folder itself.

- Then, I can go back and CTRL-SHIFT-Drop to get Filebot to add [tmdbid=xxxxx] to the folder name when I drag the folders into the Original Files pane using:

Code: Select all

{ emby.id.dir.name }
I'm assuming that this shortcoming is entirely my fault and would appreciate any direction on how to add the [tmdbid=xxxxx] to the folders and files in ONE step.

I prefer EMBY.ID because not only is that what I'm running, but in the interest of consistency, it specifically uses [tmdbid=xxxxx] as the thousands of other folders and files that I already have named that way.

A Charlie Brown Christmas (1965) [tmdbid=13187]
The Forgiven (2021) [tmdbid=1024018]
The World's Fastest Indian (2005) [tmdbid=9912]

Re: Renaming folders AND files to add [tmdbid=xxxxx]

Posted: 22 Dec 2024, 07:36
by rednoah
The {plex.id} format does not add the ID marker to the file name by design. If you're naming files for Plex or Emby, then one ID marker in the file path is enough to uniquely identify the movie / series from the file path.



:arrow: Please read the Advanced {plex} operators section if you need custom ID markers in both movie / series folder name and movie / episode file name:
rednoah wrote: 12 Sep 2016, 10:03 e.g. Avatar (2009) [M19995]/Avatar (2009) [M19995]

Format: Select all

{ ~plex ** " [M$id]" }

e.g.

Format: Select all

{ plex ** " [tmdbid=$id]" }

Code: Select all

Movies/Avatar (2009) [tmdbid=19995]/Avatar (2009) [tmdbid=19995]

Re: Renaming folders AND files to add [tmdbid=xxxxx]

Posted: 22 Dec 2024, 13:57
by ToxicAvenger
If you're naming files for Plex or Emby, then one ID marker in the file path is enough to uniquely identify the movie / series from the file path.

Thank you again for your help! I didn't realize that just the one ID marker was enough to get the job done. I was under the impression that the video & subtitle files ALSO had to be named with the ID...

Happy Holidays!