1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

* fix conversion issues by returning a Long value

This commit is contained in:
Reinhard Pointner 2015-10-18 07:51:58 +00:00
parent 42966e8c68
commit 89ab081415

View File

@ -632,12 +632,12 @@ public class MediaBindingBean {
@Define("seconds")
public Integer getSeconds() {
return Math.round(getDuration() / 1000f);
return (int) (getDuration() / 1000);
}
@Define("minutes")
public Integer getDurationInMinutes() {
return Math.round(getDuration() / 60000f);
return (int) (getDuration() / 60000);
}
@Define("media")