mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-16 22:35:04 -05:00
* {bitrate} binding
This commit is contained in:
parent
af0f4892f7
commit
32f119756b
@ -540,6 +540,11 @@ public class MediaBindingBean {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Define("bitrate")
|
||||||
|
public Float getBitRate() {
|
||||||
|
return new Float(getMediaInfo(StreamKind.General, 0, "OverallBitRate"));
|
||||||
|
}
|
||||||
|
|
||||||
@Define("duration")
|
@Define("duration")
|
||||||
public Integer getDuration() {
|
public Integer getDuration() {
|
||||||
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));
|
||||||
|
Loading…
Reference in New Issue
Block a user