1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 14:55:09 -05:00

* treat nfo/url files the same

This commit is contained in:
Reinhard Pointner 2013-02-09 03:59:09 +00:00
parent a695c4df54
commit 8b172432f9
2 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,7 @@ def include(String input, Map bindings = [:], Object... args) {
bindings.args = (args as List).flatten().findResults{ it as File } bindings.args = (args as List).flatten().findResults{ it as File }
// run given script and catch exceptions // run given script and catch exceptions
_guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings)) } _guarded { _shell.runScript(input, new javax.script.SimpleBindings(bindings ?: [:])) }
} }

View File

@ -11,6 +11,7 @@
</type> </type>
<type name="application/nfo"> <type name="application/nfo">
<extension>nfo</extension> <extension>nfo</extension>
<extension>url</extension>
</type> </type>
<!-- Verification --> <!-- Verification -->