<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gavin Panella &#187; First published at Premolo.com</title>
	<atom:link href="http://gavinpanella.com/blog/tag/from-premolo/feed/" rel="self" type="application/rss+xml" />
	<link>http://gavinpanella.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 06 Jul 2009 09:27:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Convert all your Apple Lossless files to FLAC</title>
		<link>http://gavinpanella.com/blog/2007/02/02/convert-all-your-apple-lossless-files-to-flac/</link>
		<comments>http://gavinpanella.com/blog/2007/02/02/convert-all-your-apple-lossless-files-to-flac/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 21:10:09 +0000</pubDate>
		<dc:creator>Gavin Panella</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[First published at Premolo.com]]></category>

		<guid isPermaLink="false">http://www.premolo.com/blog/2007/02/02/convert-all-your-apple-lossless-files-to-flac/</guid>
		<description><![CDATA[I&#8217;ve written a Python script that converts audio files from Apple Lossless (.m4a) to FLAC (.flac) format. Crucially, it copies meta-data, with the exception of the cover art (for now at least). I&#8217;ve got about 1000 tracks in Apple Lossless &#8230; <a href="http://gavinpanella.com/blog/2007/02/02/convert-all-your-apple-lossless-files-to-flac/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written <a href="http://gavinpanella.com/~gavin/Scripts/m4a-to-flac.py">a Python script that converts audio files from Apple Lossless (.m4a) to FLAC (.flac) format</a>. Crucially, <strong>it copies meta-data</strong>, with the exception of the cover art (for now at least).</p>
<p><span id="more-13"></span></p>
<p>I&#8217;ve got about 1000 tracks in Apple Lossless (.m4a) format, all ripped from my CDs. Tools like <a href="http://www.mplayerhq.hu/">MPlayer</a> now support it, and <a href="http://amarok.kde.org/">Amarok</a> can play them, so why bother converting them? Well, for a long time they were <em>not</em> supported so I could only listen to them on my Mac. I&#8217;ve also realised, if I&#8217;m going to keep a music collection on my computer, that the format I choose better be open so I can still listen to my tunes in a decade.</p>
<p>You&#8217;ll need the following:</p>
<ul>
<li><a href="http://www.python.org/">Python</a> 2.4 or later.</li>
<li><a href="http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen">Mutagen</a> is a pure-Python meta-data library, and I wrote the script using version 1.8.</li>
<li><a href="http://www.mplayerhq.hu/">MPlayer</a> is used to convert from Apple Lossless to WAV. I was using version 1.0_rc1.</li>
<li><a href="http://flac.sourceforge.net/">FLAC</a> of course, to encode the WAV. My machine has version 1.1.2-r8 installed.</li>
</ul>
<p>So far I&#8217;ve only tested the script with one <a href="http://www.moloko.co.uk/">Moloko</a> album on a Linux machine. It&#8217;ll probably work just fine on any Unix-like OS, and may just work on Windows if you peddle hard. I&#8217;m going to convert all 1000 tracks soon, but first I need to find some disk space. My advice: <strong>take backups</strong>, because there are no warranties, and, though I don&#8217;t mean to scare you, the pieces are yours to keep if things break.</p>
<p>Happy converting, and try the magic <code>--help</code> switch if you&#8217;re lost.</p>
<p><em>[Edited to fix broken link, 2009-07-06]</em></p>
]]></content:encoded>
			<wfw:commentRss>http://gavinpanella.com/blog/2007/02/02/convert-all-your-apple-lossless-files-to-flac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

