From 3db65e359d50086ce06a25cfaa614ed80c9cd5bc Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 17 Dec 2015 21:14:06 +0000 Subject: [PATCH] * just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI) --- source/net/filebot/cli/CmdlineOperations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/cli/CmdlineOperations.java b/source/net/filebot/cli/CmdlineOperations.java index 4fc6d93c..c2fbefbf 100644 --- a/source/net/filebot/cli/CmdlineOperations.java +++ b/source/net/filebot/cli/CmdlineOperations.java @@ -720,7 +720,7 @@ public class CmdlineOperations implements CmdlineInterface { try { CLILogger.fine("Looking up subtitles by hash via " + service.getName()); - Map subtitles = lookupSubtitleByHash(service, language, remainingVideos, false); + Map subtitles = lookupSubtitleByHash(service, language, remainingVideos, strict); Map downloads = downloadSubtitleBatch(service.getName(), subtitles, outputFormat, outputEncoding, naming); remainingVideos.removeAll(downloads.keySet()); subtitleFiles.addAll(downloads.values());