1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 15:58:52 -05:00

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

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