From aaa5a71e492c89256ea433217369a3622804ad9a Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 19 Nov 2015 12:42:11 +0000 Subject: [PATCH] * sanity check --- source/net/filebot/format/MediaBindingBean.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 9f1ef84b..03fc441e 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -777,7 +777,9 @@ public class MediaBindingBean { public String getUserDefinedLabel() throws IOException { for (Entry it : getUserDefinedArguments().entrySet()) { if (it.getKey().endsWith("label")) { - return it.getValue(); + if (it.getValue().length() > 0) { + return it.getValue(); + } } } return null;