From 8e6688facd96db98314448482a2e59ce35143bf5 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 5 Apr 2016 18:06:16 +0000 Subject: [PATCH] Fix bugs --- source/net/filebot/web/FanartTVClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/web/FanartTVClient.java b/source/net/filebot/web/FanartTVClient.java index bee54657..df900a83 100644 --- a/source/net/filebot/web/FanartTVClient.java +++ b/source/net/filebot/web/FanartTVClient.java @@ -46,7 +46,7 @@ public class FanartTVClient implements Datasource { String path = category + '/' + id; Cache cache = Cache.getCache(getName(), CacheType.Weekly); - Object json = cache.json(path, s -> getResource(s)).expire(Cache.ONE_WEEK); + Object json = cache.json(path, s -> getResource(s)).expire(Cache.ONE_WEEK).get(); return asMap(json).entrySet().stream().flatMap(type -> { return streamJsonObjects(type.getValue()).map(item -> {