diff --git a/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy b/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy index 045f1111..792563d0 100644 --- a/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy +++ b/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy @@ -243,7 +243,7 @@ def include(String input, Map bindings = [:], Object... args) { bindings.args = (args as List).flatten().findResults{ it as File } // run given script and catch exceptions - _guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings)) } + _guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings ?: [:])) } } diff --git a/source/net/sourceforge/filebot/media.types b/source/net/sourceforge/filebot/media.types index 3a713e62..8d21fdf4 100644 --- a/source/net/sourceforge/filebot/media.types +++ b/source/net/sourceforge/filebot/media.types @@ -11,6 +11,7 @@ nfo + url