mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-11 06:50:27 -04:00
Execute only distinct commands
This commit is contained in:
parent
877e52c02a
commit
d1c1f027d3
@ -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());
|
||||
}).mapToInt(this::execute);
|
||||
}).distinct().mapToInt(this::execute);
|
||||
}
|
||||
|
||||
private IntStream executeParallel(Stream<MediaBindingBean> group) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user