exclude anime movies from anime index

This commit is contained in:
Reinhard Pointner 2016-02-06 12:23:50 +00:00
parent be99a1f122
commit dd9cfaddfa
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ def animeExcludes = new HashSet()
// exclude anime movies from anime index
new File('anime-list.xml').eachLine('UTF-8') {
if (it =~ /tvdbid="movie"/) {
if (it =~ /tvdbid="movie"/ || it =~ /defaulttvdbseason="0"/) {
animeExcludes << it.match(/anidbid="(\d+)"/).toInteger()
}
}