mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 05:51:31 -04:00
print warning message if archive appears empty
This commit is contained in:
parent
6896092b54
commit
b7fc1ecd81
@ -1158,6 +1158,11 @@ public class CmdlineOperations implements CmdlineInterface {
|
|||||||
outputMapping.add(new SimpleFileInfo(outputPath.getPath(), it.getLength()));
|
outputMapping.add(new SimpleFileInfo(outputPath.getPath(), it.getLength()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// print warning message if archive appears empty
|
||||||
|
if (outputMapping.isEmpty()) {
|
||||||
|
log.warning(format("[%s] contains [%s] files", file.getName(), outputMapping.size()));
|
||||||
|
}
|
||||||
|
|
||||||
Set<FileInfo> selection = new TreeSet<FileInfo>();
|
Set<FileInfo> selection = new TreeSet<FileInfo>();
|
||||||
for (FileInfo future : outputMapping) {
|
for (FileInfo future : outputMapping) {
|
||||||
if (filter == null || filter.accept(future.toFile())) {
|
if (filter == null || filter.accept(future.toFile())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user