From 0a2d323ac4ca845513f4a911ddd400a5673ec9a5 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 28 Oct 2009 15:09:47 +0000 Subject: [PATCH] * use animetitles.dat.gz instead of scraping the anidb search interface * use disk-persistent cache for all anidb data (expire after 30 days) --- source/ehcache.xml | 11 + source/net/sourceforge/filebot/Main.java | 16 + .../sourceforge/filebot/web/AnidbClient.java | 274 +++++++++++------- .../net/sourceforge/filebot/web/Episode.java | 13 +- .../sourceforge/filebot/web/SearchResult.java | 9 +- .../filebot/web/AnidbClientTest.java | 60 +--- 6 files changed, 227 insertions(+), 156 deletions(-) diff --git a/source/ehcache.xml b/source/ehcache.xml index 1c0ac1a2..f4f4c6f0 100644 --- a/source/ehcache.xml +++ b/source/ehcache.xml @@ -132,6 +132,17 @@ memoryStoreEvictionPolicy="LRU" /> + + +