Resolve poster movie info only when full metainfo is requested

This commit is contained in:
Reinhard Pointner 2016-08-12 03:03:27 +08:00
parent e6f57fa3a6
commit c34411f0c1
1 changed files with 1 additions and 1 deletions

View File

@ -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));