1
0
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:
Reinhard Pointner 2011-11-20 20:27:53 +00:00
parent 06af0e6648
commit 7c19e15e3e

View File

@ -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();