<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;p class="normal"&gt;In my &lt;a href="4-iTunes-Playlist-Hacks-on-Windows"&gt;last post&lt;/a&gt; , I demonstrated some tricks to manipulate iTunes playlists by exporting them to text files.&amp;nbsp; It seems Apple has changed their text format in iTunes 8 just enough to break my system.&amp;nbsp; I&amp;#39;m working on a real solution, but in the meantime, here&amp;#39;s a work around to get the playlists back into the older format.&lt;/p&gt;&lt;p class="normal"&gt;First, you&amp;#39;ll need to download and install Notepad++, a free text editor available here:&lt;/p&gt;&lt;p class="normal"&gt;&lt;a href="http://notepad-plus.sourceforge.net/uk/site.htm" target="_blank"&gt;http://notepad-plus.sourceforge.net/uk/site.htm&lt;/a&gt;&lt;/p&gt;&lt;p class="normal"&gt;Next, you&amp;#39;ll need to open the new playlist format in Notepad++ and make some changes using the Find/Replace feature.&amp;nbsp; What&amp;#39;s great about Notepad++ is that you can insert special characters (like line returns) via Find/Replace.&lt;/p&gt;&lt;p class="normal"&gt;The new playlist format is still tab-separated values, but now songs aren&amp;rsquo;t placed on their lines.&amp;nbsp; Therefore, when you open the text file in Excel, you get one row with many, many columns of song information.&amp;nbsp; However, this is easily fixed by replacing &amp;quot;.mp3&amp;quot; with &amp;quot;.mp3\n&amp;quot; (just go to Search | Replace... or press Ctrl+H to bring up the window).&amp;nbsp; Make sure you change &amp;quot;Search mode&amp;quot; to &amp;quot;Extended&amp;quot; to make sure the special characters work.&amp;nbsp; Then just repeat the Find/Replace for every filetype in your playlist.&amp;nbsp; Personally, I only had to do this for .mp3 and .m4a. You&amp;#39;ll have to figure out whether you have any additional formats.&lt;/p&gt;&lt;p class="normal"&gt;&lt;img src="../uploads/notepadpp-findreplace.png" alt="Find/Replace in Notepad++" title="Find/Replace in Notepad++" width="492" height="330" /&gt;&lt;/p&gt;&lt;p class="normal"&gt;In the end you&amp;#39;ll be left with tab-separated values with one song per line.&amp;nbsp; Simply save the file, and suddenly you&amp;rsquo;re back in business with the hacks from my previous post.&lt;/p&gt;&lt;p class="normal"&gt;I&amp;#39;m going to put together a script that will automate some of these hacks.&amp;nbsp; I also did some quick Googling and noticed there are number of tools out there that accomplish similar things.&amp;nbsp; Let me know if you stumble on anything good.&lt;br /&gt;&lt;/p&gt;</body>
  <created-at type="datetime">2009-05-13T04:01:28Z</created-at>
  <id type="integer">5</id>
  <teaser>Here's a quick work around for working with playlists in iTunes 8 exported to text files.</teaser>
  <title>Playlists in iTunes 8</title>
  <updated-at type="datetime">2009-05-13T04:01:28Z</updated-at>
</post>
