* make it easier to use previously stored xattr metadata

This commit is contained in:
Reinhard Pointner 2014-10-21 11:32:22 +00:00
parent 9f3794b0af
commit ac2ce69495
1 changed files with 1 additions and 1 deletions

View File

@ -1117,7 +1117,7 @@ public class CmdlineOperations implements CmdlineInterface {
@Override @Override
public String getMediaInfo(File file, String expression) throws Exception { public String getMediaInfo(File file, String expression) throws Exception {
ExpressionFormat format = new ExpressionFormat(expression != null ? expression : "{fn} [{resolution} {af} {vc} {ac}]"); ExpressionFormat format = new ExpressionFormat(expression != null ? expression : "{fn} [{resolution} {af} {vc} {ac}]");
return format.format(new MediaBindingBean(file, file, null)); return format.format(new MediaBindingBean(readMetaInfo(file), file, null));
} }
@Override @Override