Allow rename(action) parameter to override the --action command-line option
See https://www.filebot.net/forums/viewtopic.php?f=4&t=4801
This commit is contained in:
parent
e9963d1d1f
commit
498b175fe9
|
@ -339,7 +339,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (files.size() > 0) {
|
if (files.size() > 0) {
|
||||||
return getCLI().rename(files, args.getRenameAction(), args.getConflictAction(), args.getAbsoluteOutputFolder(), args.getExpressionFileFormat(), args.getDatasource(), args.getSearchQuery(), args.getSortOrder(), args.getExpressionFilter(), args.getLanguage().getLocale(), args.isStrict());
|
return getCLI().rename(files, action, args.getConflictAction(), args.getAbsoluteOutputFolder(), args.getExpressionFileFormat(), args.getDatasource(), args.getSearchQuery(), args.getSortOrder(), args.getExpressionFilter(), args.getLanguage().getLocale(), args.isStrict());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (map.size() > 0) {
|
if (map.size() > 0) {
|
||||||
|
|
Loading…
Reference in New Issue