mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-15 13:55:03 -05:00
* remove unnecessary logging
This commit is contained in:
parent
7acc354a0c
commit
0c9c9a2633
@ -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()));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user