mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 22:35:04 -05:00
in internal getMediaInfo(File) calls, explicitly ignore the --filter option if any and don't inherit it's value from the commandline options
This commit is contained in:
parent
2bee69d732
commit
db4b6b9487
@ -427,7 +427,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||||||
Map<Option, Object> option = getDefaultOptions(parameters);
|
Map<Option, Object> option = getDefaultOptions(parameters);
|
||||||
synchronized (cli) {
|
synchronized (cli) {
|
||||||
try {
|
try {
|
||||||
List<String> lines = cli.getMediaInfo(singleton(input.get(0)), asString(option.get(Option.format)), asString(option.get(Option.filter)));
|
List<String> lines = cli.getMediaInfo(singleton(input.get(0)), asString(option.get(Option.format)), null); // explicitly ignore the --filter option if any
|
||||||
return lines.get(0);
|
return lines.get(0);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
printException(e, false);
|
printException(e, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user