Well, the MRL you provided us with http://network.absoluteradio.co.uk/core/audio/wmp/live.asx?service=vr is an MMS server that can call an ASX (XML) file metafile that can contain at least one subparagraph.
http://all-streaming-media.com/faq/streaming-media/Metafiles-ASX-Advanced-Stream-Redirector.htm
To be able to play this type of streaming media and go through each sub-element, you need to run the following code fragment:
VideoPanel.getMediaPlayer().setRepeat(true);
VideoPanel.getMediaPlayer().setPlaySubItems(true);
VideoPanel.getMediaPlayer().prepareMedia(media, options);
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
e.printStackTrace();
}
for(String s: VideoPanel.getMediaPlayer().subItems()) System.out.println(s);
VideoPanel.getMediaPlayer().play();
In the above MRL example, it lists all the subitems as follows:
http:
mms:
http:
mmsu:
mmst:
mms:
To stop playing all of them, install the following code snippet:
VideoPanel.getMediaPlayer().setRepeat(false);
VideoPanel.getMediaPlayer().setPlaySubItems(false);
VideoPanel.getMediaPlayer().stop();
: http://code.google.com/p/vlcj/wiki/HowToHandleYouTubeMedia