1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 07:48:52 -05:00

Make --format -exec pipeline more stateless

This commit is contained in:
Reinhard Pointner 2019-05-19 03:52:33 +07:00
parent 2838a8f976
commit 8b71eda926

View File

@ -42,7 +42,7 @@ public class ExecCommand {
private IntStream executeSequence(Stream<MediaBindingBean> group) {
return group.map(v -> {
return template.stream().map(t -> getArgumentValue(t, v)).filter(Objects::nonNull).collect(toList());
}).distinct().mapToInt(this::execute);
}).mapToInt(this::execute);
}
private IntStream executeParallel(Stream<MediaBindingBean> group) {