mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 16:28:51 -05:00
* make -non-strict less strict so it never aborts when the options a fairly reasonable even though there is no apparent good match
This commit is contained in:
parent
3fefe2ce73
commit
9f7c628890
@ -888,7 +888,11 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||
if (strict) {
|
||||
throw new Exception("Multiple options: Force auto-select requires non-strict matching: " + searchResults);
|
||||
} else {
|
||||
throw new Exception("Unable to auto-select search result: " + searchResults);
|
||||
if (searchResults.size() > 5) {
|
||||
throw new Exception("Unable to auto-select search result: " + searchResults);
|
||||
} else {
|
||||
return new ArrayList<SearchResult>(searchResults);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user