<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><title type="text">WeirdLooking.com: Michael Barton's Blog</title><rights>Copyright 2006</rights><author><name>Michael Barton</name><email>palrich@gmail.com</email></author><updated>2010-09-10T20:59:23Z</updated><generator>WeirdLooking.com</generator><logo>http://www.weirdlooking.com/images/feed.png</logo><link rel="alternate" type="text/html" href="http://www.weirdlooking.com/" /><link rel="self" type="application/xml+atom" href="http://www.weirdlooking.com/atom/tag/mp3" /><id>http://www.weirdlooking.com/</id><entry><title type="text">creating mp3 cds from itunes playlists</title><author><name>Michael Barton</name></author><link rel="alternate" type="text/html" href="http://www.weirdlooking.com/blog/creating-mp3-cds-from-itunes-playlists" /><id>http://www.weirdlooking.com/blog/creating-mp3-cds-from-itunes-playlists</id><published>2006-01-02T04:19:42Z</published><updated>2006-01-02T04:19:42Z</updated><content type="html">As you may know, I&amp;rsquo;ve been thinking about MP3 CDs entirely too much lately.&amp;nbsp; I quickly realized there was a problem.&amp;nbsp; My music is currently formatted on the computer as such:&lt;br /&gt;&amp;nbsp; My Music\artist\album\song.mp3&lt;br /&gt;&lt;br /&gt;This has worked fine so far because I can create playlists that group music independent of where it lives in the filesystem.&amp;nbsp; iTunes can create a flat MP3 CD of a playlist, but that&amp;rsquo;s not ideal.&amp;nbsp; What I&amp;rsquo;d like is to have a directory for each playlist on the CD, with the files from that playlist in them.&lt;br /&gt;&lt;br /&gt;Luckily, iTunes keeps your playlists in an XML file.&amp;nbsp; I hacked up something in C# to parse the XML and enumerate my playlists.&amp;nbsp; Then I mucked around all afternoon trying to figure out the best way to tell the CD burner what to do with that list.&lt;br /&gt;&lt;br /&gt;After toying with mkisofs and XP&amp;rsquo;s IMAPI CD burning interface, I figured out I can just copy the files to XP&amp;rsquo;s CD staging area.&amp;nbsp; So I rewrote my program to create directories for each playlist in the staging area, then copy the files from those playlists into the directories.&amp;nbsp; Once that&amp;rsquo;s done, XP&amp;rsquo;s wizard takes care of the burning.&amp;nbsp; Tada!&lt;br /&gt;&lt;br /&gt;This is the first thing I&amp;rsquo;ve written in C# beyond &amp;ldquo;Hello World!&amp;rdquo;, so if you look at it, please be gentle :P&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.weirdlooking.com/blog/48/CDSetup.cs&quot; style=&quot;position: relative; padding-left: 8px; zoom: 1;&quot;&gt;&lt;span style=&quot;position: absolute; top: -5px; left: 0px; width: 16px; height: 16px; background: URL(http://www.weirdlooking.com/exticon?http%3A%2F%2Fwww.weirdlooking.com%2Fblog%2F48%2FCDSetup.cs) no-repeat center center; -moz-opacity: 0.3; opacity: 0.3; filter:alpha(opacity=30);&quot;&gt;&lt;/span&gt;CDSetup.cs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;//www.weirdlooking.com/blog/creating-mp3-cds-from-itunes-playlists/cdsetup.png&quot;&gt;&lt;img src=&quot;//www.weirdlooking.com/blog/creating-mp3-cds-from-itunes-playlists/cdsetup.png/200:*&quot; alt=&quot;Click to enlargen&quot; /&gt;&lt;/a&gt;</content><category term="computers" /><category term="itunes" /><category term="mp3" /><link rel="comments" type="application/atom+xml" href="http://www.weirdlooking.com/atom/comments/48" /><wfw:commentRss>http://www.weirdlooking.com/atom/comments/48</wfw:commentRss><slash:comments>16</slash:comments></entry></feed>