Fix AniDB index (some missing titles due to overly aggressive scrubbing)

@see https://www.filebot.net/forums/viewtopic.php?f=11&t=4748
This commit is contained in:
Reinhard Pointner 2017-02-14 04:37:25 +08:00
parent c423f00c8a
commit d0d8b6396c
1 changed files with 0 additions and 1 deletions

View File

@ -387,7 +387,6 @@ def anidb_index = anidb.findResults{
def names = it.effectiveNames*.replaceAll(/\s+/, ' ')*.trim()*.replaceAll(/['`´ʻ]+/, /'/)
names = getNamePermutations(names)
names = names.findAll{ stripReleaseInfo(it)?.length() > 0 }
return names.empty ? null : [it.id.pad(5)] + names.take(4)
}