1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-16 14:25:02 -05:00

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

View File

@ -178,7 +178,7 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
// fix poster path // fix poster path
try { 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) { } catch (Exception e) {
// movie does not belong to any collection // movie does not belong to any collection
debug.warning(format("Bad data: poster_path => %s", response)); debug.warning(format("Bad data: poster_path => %s", response));