From da6da29c7b9c70d0263e2d32a33aeba2ea68513d Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 10 Jul 2013 09:18:28 +0000 Subject: [PATCH] * with the latest revision i'm giving you {videos} {audios} {texts} so you can access all streams and not just stream 0 as with the default bindings --- .../filebot/format/MediaBindingBean.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/net/sourceforge/filebot/format/MediaBindingBean.java b/source/net/sourceforge/filebot/format/MediaBindingBean.java index 0e1c4e59..4714c566 100644 --- a/source/net/sourceforge/filebot/format/MediaBindingBean.java +++ b/source/net/sourceforge/filebot/format/MediaBindingBean.java @@ -551,6 +551,24 @@ public class MediaBindingBean { } + @Define("videos") + public List> getVideoInfoList() { + return getMediaInfo().snapshot().get(StreamKind.Video); + } + + + @Define("audios") + public List> getAudioInfoList() { + return getMediaInfo().snapshot().get(StreamKind.Audio); + } + + + @Define("texts") + public List> getTextInfoList() { + return getMediaInfo().snapshot().get(StreamKind.Text); + } + + @Define("artist") public String getArtist() { return getMusic().getArtist();