* 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

This commit is contained in:
Reinhard Pointner 2013-07-10 09:18:28 +00:00
parent 83f0dbe0dd
commit da6da29c7b
1 changed files with 18 additions and 0 deletions

View File

@ -551,6 +551,24 @@ public class MediaBindingBean {
}
@Define("videos")
public List<Map<String, String>> getVideoInfoList() {
return getMediaInfo().snapshot().get(StreamKind.Video);
}
@Define("audios")
public List<Map<String, String>> getAudioInfoList() {
return getMediaInfo().snapshot().get(StreamKind.Audio);
}
@Define("texts")
public List<Map<String, String>> getTextInfoList() {
return getMediaInfo().snapshot().get(StreamKind.Text);
}
@Define("artist")
public String getArtist() {
return getMusic().getArtist();