From c34411f0c1e39ebe42a71c86d7ebc1537d5663a6 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 12 Aug 2016 03:03:27 +0800 Subject: [PATCH] Resolve poster movie info only when full metainfo is requested --- source/net/filebot/web/TMDbClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/web/TMDbClient.java b/source/net/filebot/web/TMDbClient.java index d408ac1b..374a51ae 100644 --- a/source/net/filebot/web/TMDbClient.java +++ b/source/net/filebot/web/TMDbClient.java @@ -178,7 +178,7 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider { // fix poster path try { - fields.computeIfPresent(MovieProperty.poster_path, (k, v) -> resolveImage(v).toString()); + fields.computeIfPresent(MovieProperty.poster_path, (k, v) -> extendedInfo ? resolveImage(v).toString() : null); } catch (Exception e) { // movie does not belong to any collection debug.warning(format("Bad data: poster_path => %s", response));