Added Integer binding for {runtime}

This commit is contained in:
Reinhard Pointner 2016-08-07 05:49:42 +08:00
parent 21a68272ec
commit c99be48cf0
1 changed files with 6 additions and 0 deletions

View File

@ -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");