* ignore special pattern S01c01

This commit is contained in:
Reinhard Pointner 2013-10-29 19:13:22 +00:00
parent 6bbcef9779
commit ea84f477b1
1 changed files with 1 additions and 1 deletions

View File

@ -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") }