"Uncut" two times in the name
Posted: 29 Jun 2014, 09:21
Hello.
This is my Movie Naming Scheme:
Sometimes a folder also has a subfolder, or in the folder name and the file name is for example "uncut".
"Uncut" is sometimes only in the filename. From time to time but only the folder name. Or even in the folder names, subfolder names and file names.
So the new name looks like this: H:/F/Frontiers (Uncut, Uncut) (2007)
What I have to change that then only once "uncut" , "extended", etc in the name is?
Thanks.
This is my Movie Naming Scheme:
Code: Select all
H:/{n =~ /^(?i)[a-z]/ ? n[0] : '#'}/{n.upperInitial()}{' (' + file.path.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} ({y})
"Uncut" is sometimes only in the filename. From time to time but only the folder name. Or even in the folder names, subfolder names and file names.
So the new name looks like this: H:/F/Frontiers (Uncut, Uncut) (2007)
What I have to change that then only once "uncut" , "extended", etc in the name is?
Thanks.