I am trying to rename posters and banners in the main folder with the movie but it appears i am not smarter than a 5th grader here is what i have for the format in the gui T:/new/{fn.contains('3D') || fn.contains('3-D')|| fn.contains('3d') ? "3D\\":"Movies\\"}{def n0 = any{collection}{n}.sortName ...
I feel so close, problem is that on a collection i get T:\new\Movies\M\The Matrix Collection\A\The Animatrix [2003] instead of T:\new\Movies\M\The Matrix Collection\The Animatrix [2003] what i now have is t:\new\Movies\{c0="$collection".sortName().charAt(0); c0.isDigit() ? '0-9\\' : "$c0 ...
It would seem i can get one or the other, but not both the code below will remove the 'the' and put 'the animartix' into T:\new\movies\m\the matrix collection t:\new\Movies\{def c1={c0=collection.sortName().charAt(0); c0.isDigit() ? '0-9\\' : "$c0\\"} n1={n0 = n.sortName().charAt(0); n0.isDigit ...
I have not been able to figure out a simple 'if' statment. I would like to use the {collections} for movies. i put my movies in to alpha folders and do not use the 'the' ie Her would be in t:/H/Her/her.mkv problem arises for collections where the movie name does not start with the same letter as the ...
1. All the code is standard Groovy code, and all the extra variables can be inspected by clicking (x)= button in the Format Editor window. 2. n =~ /^(?i)[a-z]/ means if there is any letter in the name then , since The 4400 contains a letter it'll use the charAt(0) code. I would do this: {n0 = n ...
I have been using the following code in the GUI to Create folder structure from first letter in movie/tv t:\new\TV\{n =~ /^(?i)[a-z]/ ? n.replaceFirst(/^(?i)(The|A)\s(.+)/, /$2, $1/).getAt(0) : '0-9'}\{n.replaceAll(/[(]/,"[").replaceAll(/[)]/,"]")}\Season {s}\{n.replaceAll(/[(]/,"[").replaceAll ...
1. Just don't drag them in, and they won't be renamed. You can use *.avi or some sort of filter to drag in multiple files from multiple folders. 2. You'll have to account for extra extensions in the format: {if (ext =~ /watched/) fn.match(/\.(avi|mkv)$/)} 1. but i do want them renamed so i end up ...
I am currently using the GUI v4.0 on windoze for my movies i use t:\new\Movies\{n =~ /^(?i)[a-z]/ ? n.replaceAll('The ','').getAt(0) : '0-9'}\{n} [{y}]\{n} [{y}] [ID IMDB tt{imdb.imdbid}]{fn.contains('trl') || fn.contains('trailer') ? '.'+'[Trailer-IMDB]':""}{" CD$pi"} if i have a file with trailer ...