mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 16:35:08 -05:00
* script compatibility fixes
This commit is contained in:
parent
ea942d41e2
commit
56ee173764
@ -230,6 +230,11 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Movie matchMovie(String name) throws Exception {
|
||||||
|
List<Movie> matches = MediaDetection.matchMovieName(singleton(name), true, 0);
|
||||||
|
return matches == null || matches.isEmpty() ? null : matches.get(0);
|
||||||
|
}
|
||||||
|
|
||||||
public int execute(Object... args) throws Exception {
|
public int execute(Object... args) throws Exception {
|
||||||
List<String> cmd = new ArrayList<String>();
|
List<String> cmd = new ArrayList<String>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user