diff --git a/website/scripts/amc.groovy b/website/scripts/amc.groovy index ad7d75e6..2c138a9f 100644 --- a/website/scripts/amc.groovy +++ b/website/scripts/amc.groovy @@ -109,7 +109,7 @@ input = input.findAll{ it?.exists() }.collect{ it.canonicalFile }.unique() input = input.findAll{ f -> (f.isVideo() && !tryQuietly{ f.hasExtension('iso') && !f.isDisk() }) || f.isSubtitle() || (f.isDirectory() && f.isDisk()) || (music && f.isAudio()) } // ignore clutter files -input = input.findAll{ f -> !(f.path =~ /\b(?i:sample|trailer|extras|music.video|scrapbook|behind.the.scenes|extended.scenes|deleted.scenes)\b/ || (f.isFile() && f.length() < minFileSize)) } +input = input.findAll{ f -> !(f.path =~ /\b(?i:sample|trailer|extras|music.video|scrapbook|behind.the.scenes|extended.scenes|deleted.scenes|s\d{2}c\d{2})\b/ || (f.isFile() && f.length() < minFileSize)) } // print input fileset input.each{ f -> _log.finest("Input: $f") }