1
0
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:
Reinhard Pointner 2016-02-02 17:22:27 +00:00
parent 2bee69d732
commit db4b6b9487

View File

@ -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);