A section in the MC SDK docs mentions that playlists in ASX or WPL format can be played in Media Center.
I've tried to create a playlist file in ASX format with the following content:
<?xml version="1.0" encoding="utf-8"?>
<smil>
<media id="v1" src="s:\Videos\Bear.wmv" />
<media id="v2" src="s:\Videos\Butterfly.wmv" />
</smil>
I saved the file as 'c:\temp\playlist.asx'. How do I then get Media Center to play it? I tried:
MediaCenterEnvironment.PlayMedia(Microsoft.MediaCenter.
MediaType.Video,
@'c:\temp\playlist.asx', false);
but this gave me an error saying it couldn't find the file. 's:' is a mapped drive with a copy of the sample videos on it. Has anyone had any luck playing playlists?
Thanks for any pointers.
Glenn.