diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 03fc441e..d9c6d578 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -777,7 +777,7 @@ public class MediaBindingBean { public String getUserDefinedLabel() throws IOException { for (Entry it : getUserDefinedArguments().entrySet()) { if (it.getKey().endsWith("label")) { - if (it.getValue().length() > 0) { + if (it.getValue() != null && it.getValue().length() > 0) { return it.getValue(); } }