mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
Added Integer binding for {runtime}
This commit is contained in:
parent
21a68272ec
commit
c99be48cf0
@ -573,6 +573,12 @@ public class MediaBindingBean {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Define("runtime")
|
||||
public Integer getRuntime() {
|
||||
Object runtime = getMetaInfo().getProperty("runtime");
|
||||
return runtime instanceof Integer ? (Integer) runtime : Integer.parseInt(runtime.toString());
|
||||
}
|
||||
|
||||
@Define("actors")
|
||||
public Object getActors() {
|
||||
return getMetaInfo().getProperty("actors");
|
||||
|
Loading…
Reference in New Issue
Block a user