This project has moved. For the latest updates, please go here.

asx files

Sep 21, 2013 at 11:58 PM

Thanks for all the hard work - My .m3u8 files are playing nicely.

Do you know if it is possible to play .asx files?

Sep 22, 2013 at 2:24 PM
You're welcome.

It depends on what is in the playlist. If the media is supported, then the simplest thing to do is probably to use LINQ-to-XML to extract the URLs, convert them into PlaylistItem instances, then assign them to the player's playlist.

I think something like this should extract the URLs:
            var xDocument = XDocument.Load(asxSource);

            var urls = from entry in xDocument.Descendants("entry")
                    select entry.Element("ref").Attribute("href").Value;
It gets much more complicated if the media isn't supported.