diff --git a/source/net/filebot/format/MediaBindingBean.java b/source/net/filebot/format/MediaBindingBean.java index 9ceb85d5..74e5d934 100644 --- a/source/net/filebot/format/MediaBindingBean.java +++ b/source/net/filebot/format/MediaBindingBean.java @@ -626,8 +626,8 @@ public class MediaBindingBean { } @Define("duration") - public Float getDuration() { - return new Float(getMediaInfo(StreamKind.General, 0, "Duration")); + public Long getDuration() { + return new Double(getMediaInfo(StreamKind.General, 0, "Duration")).longValue(); } @Define("seconds")