mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-02 00:15:02 -04:00
* update exclude rules
This commit is contained in:
parent
0223e425ab
commit
de0c7a627e
@ -289,7 +289,7 @@ new File("${dir_data}/add-series-alias.txt").splitEachLine(/\t+/, 'UTF-8') { row
|
||||
thetvdb_index << [se[0], row[1]]
|
||||
}
|
||||
|
||||
thetvdb_index = thetvdb_index.findResults{ [it[0] as Integer, it[1].replaceAll(/\s+/, ' ').trim()] }.findAll{ !(it[1] =~ /(?i:duplicate)/ || it[1] =~ /\d{6,}/ || it[1].startsWith('*') || it[1].endsWith('*') || it[1].length() < 2) }
|
||||
thetvdb_index = thetvdb_index.findResults{ [it[0] as Integer, it[1].replaceAll(/\s+/, ' ').trim()] }.findAll{ !(it[1] =~ /(?i:duplicate|Series.Not.Permitted)/ || it[1] =~ /\d{6,}/ || it[1].startsWith('*') || it[1].endsWith('*') || it[1].length() < 2) }
|
||||
thetvdb_index = thetvdb_index.sort{ a, b -> a[0] <=> b[0] }
|
||||
|
||||
// join and sort
|
||||
|
Loading…
Reference in New Issue
Block a user