From f7436eee9efcdca4edc9d7b01a6c378ca13e709a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 27 Oct 2014 21:07:08 +0000 Subject: [PATCH] * {output} could be useful for advanced filter expressions --- source/net/filebot/format/MediaBindingBean.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index f827475f..8efaa3fe 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -730,6 +730,11 @@ public class MediaBindingBean { return new Date(); } + @Define("output") + public File getUserDefinedOutputFolder() throws IOException { + return new File(Settings.getApplicationArguments().output).getCanonicalFile(); + } + @Define("defines") public Map getUserDefinedArguments() throws IOException { return Settings.getApplicationArguments().defines;