mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* fix conversion issues by returning a Long value
This commit is contained in:
parent
2a64e1fe99
commit
42966e8c68
@ -626,8 +626,8 @@ public class MediaBindingBean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Define("duration")
|
@Define("duration")
|
||||||
public Float getDuration() {
|
public Long getDuration() {
|
||||||
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
|
return new Double(getMediaInfo(StreamKind.General, 0, "Duration")).longValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("seconds")
|
@Define("seconds")
|
||||||
|
Loading…
Reference in New Issue
Block a user