mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-25 17:28:51 -05:00
* {bitrate} and {duration} as float type for convenience
This commit is contained in:
parent
32f119756b
commit
4b15736faf
@ -546,8 +546,8 @@ public class MediaBindingBean {
|
||||
}
|
||||
|
||||
@Define("duration")
|
||||
public Integer getDuration() {
|
||||
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||
public Float getDuration() {
|
||||
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||
}
|
||||
|
||||
@Define("seconds")
|
||||
|
Loading…
Reference in New Issue
Block a user