1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

* remove unnecessary logging

This commit is contained in:
Reinhard Pointner 2013-03-26 13:53:14 +00:00
parent 7acc354a0c
commit 0c9c9a2633

View File

@ -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<File, Movie> 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()));
}
}