Resolve poster movie info only when full metainfo is requested
This commit is contained in:
parent
e6f57fa3a6
commit
c34411f0c1
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue