1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* 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

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