From 32f119756b88dbfed660b9441ef6348328567c51 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 8 Jan 2014 14:26:39 +0000 Subject: [PATCH] * {bitrate} binding --- source/net/sourceforge/filebot/format/MediaBindingBean.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java index b5322333..4e3e9554 100644 --- a/source/net/sourceforge/filebot/format/MediaBindingBean.java +++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java @@ -540,6 +540,11 @@ public class MediaBindingBean { return null; } + @Define("bitrate") + public Float getBitRate() { + return new Float(getMediaInfo(StreamKind.General, 0, "OverallBitRate")); + } + @Define("duration") public Integer getDuration() { return new Integer(getMediaInfo(StreamKind.General, 0, "Duration"));