Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support
Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support Windows 7, Vista & Linux Media Center Support


Go Back   Australian Media Center Community > XP Media Center 2005 > XP Media Center 2005 - Plugins & Addons > Other MCE Addons

Community Information

Reply
 
Thread Tools
Old 18th April 2006, 01:49 AM   #1 (permalink)
MCE Journeyman
 
Treason's Avatar
Status Treason is Offline:
ActivityPosts: 155
Reputation & Thanks Support Rating:
Treason Treason
Points Earned: 173

Treason has been Thanked 9 times in 6 posts
Playing ASX (playlist) files without a streaming server in MCE

I stumbled on this while writing MCEBrowser located here:
http://www.xpmediacentre.com.au/comm...e-browser.html

An ASX file is just a text file pointing to different media. ASX file are supposed to be formatted like this:

Code:
<ASX version="3">
<Entry>
<ref href="videofilename.asf">
</Entry>
</ASX>
In my first attempt, I created a text file like the one above and MCE kept complaing it is an unsopported format. So then in the MCEBroswer thread someone suggested to try a m3u file. An m3u file is supposed to look like this:

Code:
  
   #EXTM3U 
   #EXTINF:199,Pink Floyd - In The Flesh
   R:\Music\Pink Floyd\1979---The_Wall_CD1\1.In_The_Flesh.mp3
   #EXTINF:217,Pink Floyd - One Of My Turns
   R:\Music\Pink Floyd\1979---The_Wall_CD1\10.One_Of_My_Turns.mp3
The m3u file is also not supported by MCE. So now what?!?

This is what I did and it worked. I created a file with the asx extension, but used the m3u file format.

Filename: playlist.asx (for example)
Code:
  
   #EXTM3U 
   #EXTINF:99,Foobar
   R:\Music\Pink Floyd\1979---The_Wall_CD1\1.In_The_Flesh.mp3
   #EXTINF:99,Foobar
   R:\Music\Pink Floyd\1979---The_Wall_CD1\10.One_Of_My_Turns.mp3
Viola, Media center will play these files back to back. The #EXTINF line is meaningless but I think it has to be there.

Hopefully this will help someone else down the road in developing MCE applications. Remember to support people who write MCE applications, they typically don't do it for money... and no feedback or comments can make a new programmer not even want to attempt and continue delevoping for us.

Cheers and Beers!
  Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arksofts Crunchie Release (v1.1) arkay Crunchie 584 19th November 2008 10:37 AM
MCE - Foxtel / PAY TV Guide TiggerK Media Center Articles & Guides 1 5th November 2005 09:21 PM
How to play Ogg Vorbis files in MCE Redmist XP Media Center 2005 - The Software 6 31st October 2005 09:10 PM
MCE issues henri XP Media Center 2005 - The Software 45 13th October 2005 08:41 AM
Playing MPEG2 files beneuto XP Media Center 2005 - The Software 0 15th August 2005 04:08 PM


Advertisers




Terms Of Service - Contact Us - Advertise With Us - Archive - Privacy Statement - FAQ
Microsoft©, Windows XP©, Windows XP Media Center© & Windows Vista© are registered trademarks of Microsoft Corporation.
www.xpmediacentre.com.au has no relationship with, nor is affiliated in any way with Microsoft Corporation.
All original content on this website © 2004 - 2008 xpmediacentre.com.au, All rights reserved
Forum by vBulletin Version 3.7.3 - Copyright Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC7
Local time now is 08:41 AM AEDT.