Old thread, but I've managed to cobble together a preset and process that's been working pretty well for me regarding organizing movies and extras off of my DVD's and thought I'd share. My goal like the others above was to save a movie + extras using the naming scheme Plex asks for, my preference was to go with the folder and subdirectories vs just the hyphenated tagging.
First off I have the following preset:
Groovy: Select all
{drive}/
{plex.id[0]}/
{plex.id[1]}/
{
def name = fn;
def isExtra = false;
try {
isExtra = fn.match(/-behindthescenes|-deleted|-featurette|-interview|-scene|-short|-trailer|-other/);
} catch (Exception ex) {}
if (isExtra) {
switch (fn) {
case ~/(?i).*behindthescenes.*/: name='Behind the Scenes/'+name.before('-'); break
case ~/(?i).*trailer.*/: name='Trailers/'+name.before('-'); break
case ~/(?i).*interview.*/: name='Interviews/'+name.before('-'); break
case ~/(?i).*deleted.*/: name='Deleted Scenes/'+name.before('-'); break
case ~/(?i).*scene.*/: name='Deleted Scenes/'+name.before('-'); break
case ~/(?i).*featurette.*/: name='Featurettes/'+name.before('-'); break
case ~/(?i).*short.*/: name='Shorts/'+name.before('-'); break
default: name='Other/'+name
}
} else {
name = plex.name;
}
name
}
My process after extracting is:
1. Extract data into a single folder
2. Rename the primary movie file to something good enough that TMDB will pick up on it
3. Rename the extras to "name of extra -<type>", so something like "Interview with Cast -interview"
4. Load up filebot and match using my preset, if certain extras don't match right away, force a match by clicking the match button multiple times.
5. At this point the main movie file and all extras almost always match to the right entry in TMDB, executing the rename moves everything into the proper file structure on my media server
Here's an example of how I name files and how this preset will rename:
