mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-17 23:05:03 -05:00
* just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI)
This commit is contained in:
parent
17e23a827e
commit
3db65e359d
@ -720,7 +720,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
CLILogger.fine("Looking up subtitles by hash via " + service.getName());
|
CLILogger.fine("Looking up subtitles by hash via " + service.getName());
|
||||||
Map<File, SubtitleDescriptor> subtitles = lookupSubtitleByHash(service, language, remainingVideos, false);
|
Map<File, SubtitleDescriptor> subtitles = lookupSubtitleByHash(service, language, remainingVideos, strict);
|
||||||
Map<File, File> downloads = downloadSubtitleBatch(service.getName(), subtitles, outputFormat, outputEncoding, naming);
|
Map<File, File> downloads = downloadSubtitleBatch(service.getName(), subtitles, outputFormat, outputEncoding, naming);
|
||||||
remainingVideos.removeAll(downloads.keySet());
|
remainingVideos.removeAll(downloads.keySet());
|
||||||
subtitleFiles.addAll(downloads.values());
|
subtitleFiles.addAll(downloads.values());
|
||||||
|
Loading…
Reference in New Issue
Block a user