From c55aed4c324b2bb2fb390be8dd9a6acf26d687f9 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 2 Feb 2017 04:28:31 +0800 Subject: [PATCH] There are valid shows with lower-case names: e.g. "heute-show" --- build-data/BuildData.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-data/BuildData.groovy b/build-data/BuildData.groovy index a86d4b66..2759d582 100755 --- a/build-data/BuildData.groovy +++ b/build-data/BuildData.groovy @@ -93,7 +93,7 @@ def getNamePermutations(names) { return [original, s] }.unique{ normalize(it) }.findAll{ it.length() > 0 } - out = out.findAll{ it.length() >= 2 && !(it ==~ /[1][0-9][1-9]/) && !(it =~ /^[a-z]/) && it =~ /^[@.\p{L}\p{Digit}]/ } // MUST START WITH UNICODE LETTER + out = out.findAll{ it.length() >= 2 && !(it ==~ /[1][0-9][1-9]/) && 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 return out