diff --git a/source/net/filebot/media/MetaAttributes.java b/source/net/filebot/media/MetaAttributes.java index 7c8e59cb..0d628e36 100644 --- a/source/net/filebot/media/MetaAttributes.java +++ b/source/net/filebot/media/MetaAttributes.java @@ -84,6 +84,10 @@ public class MetaAttributes { } public static Object toObject(String json) { + if (json == null || json.isEmpty()) { + return null; + } + Map options = new HashMap(); options.put(JsonReader.TYPE_NAME_MAP, JSON_TYPE_MAP);