Code: Select all
{n =~ 'P90X' ? 'M:/Workouts' : n =~ 'X-Rated' ? 'M:/Movies P' : fn =~ '3D' ? 'M:/Movies HD 3D' : vf == /2160p/ ? 'N:/Movies 4K' : vf =~ /1080p|720p/ ? 'S:/Movies HD 2' : 'M:/Movies'}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/swesub|korsubs|deleted.scenes|extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux|UHD|theatrical/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}|uncut|director} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/swesub|korsubs|deleted.scenes|extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux|UHD|theatrical/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} [{y}, {any{csv('M:/replacecert1.csv').get(certification)}{certification}{"NR"} }, {runtime} Min] {[actors.take(3).join(', ')]} {[genres.take(3).join(', ')]} [{fn.match(/3D/)+', '}{"$vf, $ac@$af"}]{subt}
However, while this will put files into the right places based on 3D format, HD format, 4K format, etc.. for some odd reason it will not sort X-Rated into the X-Rated drive/folder. I have an old 1978 movie that was rated X for the time. So I named the file: movie (1978) X-Rated.mp4 It's not sorting this. My question is this..... Does it only sort AFTER it grabs the info from the movie database? In other words, does it not sort the X-Rated unless it gets X-Rated from the database and not caring if it's in the raw file name? I THOUGHT it was based on the name as other files I have use the file name to add things like 'extended' or 'unrated' or 'uncut' etc..
Any help in this would be great. It's not the end of the world if I have to manually name this one movie and drop it in the right folder but since it SHOULD sort itself I am wondering why it isn't working.
Thanks!!!
Greg