diff --git a/source/net/sourceforge/filebot/cli/CmdlineOperations.java b/source/net/sourceforge/filebot/cli/CmdlineOperations.java index da2cf8a0..1048b7b3 100644 --- a/source/net/sourceforge/filebot/cli/CmdlineOperations.java +++ b/source/net/sourceforge/filebot/cli/CmdlineOperations.java @@ -312,12 +312,14 @@ public class CmdlineOperations implements CmdlineInterface { if (query == null) { if (movieFiles.size() > 0) { try { - CLILogger.finest(format("Looking up movie by filehash via [%s]", service.getName())); Map hashLookup = service.getMovieDescriptors(movieFiles, locale); - movieByFile.putAll(hashLookup); + if (hashLookup.size() > 0) { + CLILogger.finest(format("Looking up up movie by filehash via [%s]", service.getName())); + movieByFile.putAll(hashLookup); + } Analytics.trackEvent(service.getName(), "HashLookup", "Movie", hashLookup.size()); // number of positive hash lookups } catch (UnsupportedOperationException e) { - CLILogger.finest(format("%s: Hash lookup not supported", service.getName())); + } }