1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

Added Integer binding for {runtime}

This commit is contained in:
Reinhard Pointner 2016-08-07 05:49:42 +08:00
parent 21a68272ec
commit c99be48cf0

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