"What's playing now" on radio streams (mostly IceCast)

Topics: Windows 8 JavaScript, Windows 8 Xaml
Apr 21, 2013 at 8:18 AM
Is there a way to capture what's playing now data from MediaPlayer component.
I can create a stream that parses IceCast data, but there should be an easier way to get this information.
Apr 22, 2013 at 7:30 PM
Sorry, if you pass in a url instead of a stream, from that point forward all processing of the bytes are done internally by the MediaElement control and there are no hooks (aside from things like NaturalDuration, NaturalWidth/Hight, and AspectRatioWidth/Height) that would allow you to see more info about the stream that it is downloading. Your best bet is either to create a Media Foundation Extension or download it yourself and pass along the data as an IRandomAccessStream.