Lil help needed for Plex renaming
Posted: 11 Jul 2014, 07:23
Hey all,
I'm brand spanking new to using Filebot (loving it so far
) and working on getting a Plex renaming scheme working.
Currently I have this:
What I want to do is just be able to drop all of the folders that I have, which have the movies in them, and may have other files in them (subs, etc.), and may or may not have multiple parts to the movie, into Filebot for renaming. They also may or may not have "extras" in the same folder.
The general format I'm looking for is:
).
The above expression works pretty well so far for movies, however, it always adds the space, dash, space stuff to every file, even if no multiple parts. I'm not familiar enough with the syntax to know how/if I can add some "if/else" handling to it?
Can anyone with more experience help me whip up the proper expression? It'd be much appreciated.
Thanks!
I'm brand spanking new to using Filebot (loving it so far

Currently I have this:
Code: Select all
Z:\Media Server\.Processed\{n.replace(':', ' ')}\{n.replace(':', ' ')} ({y}) - {'pt'+pi}
The general format I'm looking for is:
- All words in "Camel Case" or "Mixed Case" (first letter of each word capitalized), for all folders and files.
For the folders, just the movie name; no year or anything else.
For the files in those folders, just add the year the the name*
*IF there are multiple parts to a movie, then add a space, dash, space, lower case "pt" and the number. (i.e. Austin Powers (1969) - pt1.avi, Austin Powers (1969) - pt2.avi, etc.).
If no multiple parts then leave off the space, dash, space stuff at the end, leaving just the movie name and year.
Once all renamed, move them to "Z:\Media Server\.Processed"

The above expression works pretty well so far for movies, however, it always adds the space, dash, space stuff to every file, even if no multiple parts. I'm not familiar enough with the syntax to know how/if I can add some "if/else" handling to it?
Can anyone with more experience help me whip up the proper expression? It'd be much appreciated.
Thanks!