* ignore all kinds of clutter files like samples, trailers, etc

This commit is contained in:
Reinhard Pointner 2012-06-15 10:42:39 +00:00
parent ad79f0c13d
commit 0c9bc8a742
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ input += extract(file:input, output:".", conflict:"override")
input = input.findAll{ it.isVideo() || it.isSubtitle() }
// ignore clutter files
input = input.findAll{ !(it.name =~ /(?i:sample)/) }
input = input.findAll{ !(it.path =~ /\b(?i:sample|trailer|extras|deleted.scenes|music.video|scrapbook)\b/) }
// print input fileset
input.each{ println "Input: $it" }