* added direct mapping for @midnight
@see http://www.filebot.net/forums/viewtopic.php?f=8&t=1401
This commit is contained in:
parent
d9dde4fdf9
commit
df59b6c33c
|
@ -77,7 +77,7 @@ def getNamePermutations(names) {
|
||||||
}
|
}
|
||||||
out += res
|
out += res
|
||||||
|
|
||||||
out = out.findAll{ it.length() >= 2 && !(it =~ /^[a-z]/) && it =~ /^[.\p{L}\p{Digit}]/ } // MUST START WITH UNICODE LETTER
|
out = out.findAll{ it.length() >= 2 && !(it ==~ /[1-9]?[0-9][1-9]/) && !(it =~ /^[a-z]/) && it =~ /^[.\p{L}\p{Digit}]/ } // MUST START WITH UNICODE LETTER
|
||||||
out = out.findAll{ !MediaDetection.releaseInfo.structureRootPattern.matcher(it).matches() } // IGNORE NAMES THAT OVERLAP WITH MEDIA FOLDER NAMES
|
out = out.findAll{ !MediaDetection.releaseInfo.structureRootPattern.matcher(it).matches() } // IGNORE NAMES THAT OVERLAP WITH MEDIA FOLDER NAMES
|
||||||
|
|
||||||
out = out.unique{ it.toLowerCase().normalizePunctuation() }.findAll{ it.length() > 0 }
|
out = out.unique{ it.toLowerCase().normalizePunctuation() }.findAll{ it.length() > 0 }
|
||||||
|
|
|
@ -38,8 +38,8 @@
|
||||||
^data$
|
^data$
|
||||||
^deluge$
|
^deluge$
|
||||||
^disk[0-9]$
|
^disk[0-9]$
|
||||||
^Documentary$
|
|
||||||
^Documentaries$
|
^Documentaries$
|
||||||
|
^Documentary$
|
||||||
^Done$
|
^Done$
|
||||||
^Download$
|
^Download$
|
||||||
^Downloading$
|
^Downloading$
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
at.midnight @midnight
|
||||||
BSG Battlestar Galactica
|
BSG Battlestar Galactica
|
||||||
CSI(?!.{0,3}(NY|LA|Miami|Academy)) CSI: Crime Scene Investigation
|
CSI(?!.{0,3}(NY|LA|Miami|Academy)) CSI: Crime Scene Investigation
|
||||||
epl English Premier League
|
epl English Premier League
|
||||||
|
|
Loading…
Reference in New Issue