mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 22:35:04 -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")
|
@Define("duration")
|
||||||
public Integer getDuration() {
|
public Float getDuration() {
|
||||||
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
return new Float(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Define("seconds")
|
@Define("seconds")
|
||||||
|
Loading…
Reference in New Issue
Block a user