Make sure to pre-cache anidb index file

This commit is contained in:
Reinhard Pointner 2019-05-03 20:38:35 +07:00
parent d72b7f490d
commit 406e25c49d
1 changed files with 4 additions and 1 deletions

View File

@ -351,7 +351,10 @@ pack(osdb_out, osdb*.join('\t'))
// ------------------------------ BUILD ANIDB INDEX ------------------------------ //
def anidb = new AnidbClient('filebot', 6).getAnimeTitles() as List
def ac = new AnidbClient('filebot', 6)
ac.getCache('root').put('anime-titles.dat.gz', dir_data.resolve('anidb.txt').bytes)
def anidb = ac.animeTitles as List
def animeExcludes = [] as Set
// exclude anime movies from anime index