diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 74e5d934..4a323bbd 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -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")