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:
parent
42966e8c68
commit
89ab081415
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user