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 -> {