* 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:
parent
83f0dbe0dd
commit
da6da29c7b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue