mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* improved error msg
This commit is contained in:
parent
06af0e6648
commit
7c19e15e3e
@ -128,7 +128,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
seriesNames = new SeriesNameMatcher().matchAll(mediaFiles.toArray(new File[0]));
|
seriesNames = new SeriesNameMatcher().matchAll(mediaFiles.toArray(new File[0]));
|
||||||
|
|
||||||
if (seriesNames.isEmpty() || (strict && seriesNames.size() > 1)) {
|
if (seriesNames.isEmpty() || (strict && seriesNames.size() > 1)) {
|
||||||
throw new Exception("Failed to auto-detect series name: " + seriesNames);
|
throw new Exception("Unable to auto-select series name: " + seriesNames);
|
||||||
}
|
}
|
||||||
|
|
||||||
query = seriesNames.iterator().next();
|
query = seriesNames.iterator().next();
|
||||||
|
Loading…
Reference in New Issue
Block a user