<?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>Nanolx.org &#187; music</title>
	<atom:link href="http://www.nanolx.org/tag/music/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nanolx.org</link>
	<description>Nanolx.org: Hacking @ Debian</description>
	<lastBuildDate>Tue, 20 Mar 2012 13:55:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Spotlight on: Clamz</title>
		<link>http://www.nanolx.org/newslinux/clamz</link>
		<comments>http://www.nanolx.org/newslinux/clamz#comments</comments>
		<pubDate>Sun, 25 Jul 2010 19:12:50 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[News::Linux]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://www.nanolx.org/?p=137</guid>
		<description><![CDATA[Clamz is a downloader for the amazon musicshop.

When you&#8217;re buying music from amazon you&#8217;ll in most cases get an encrypted .amz file containing the download links. This file would require the amazon-mp3-downloader to be decrypted. But it&#8217;s only available for a handfull and old distros.
T [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.nanolx.org/wp-content/uploads//zen-icon.png" class="alignleft size-full wp-image-138" title="network" alt="" width="128" height="128" />Clamz is a downloader for the amazon musicshop.</p>
<p><span id="more-137"></span></p>
<p>When you&#8217;re buying music from amazon you&#8217;ll in most cases get an encrypted .amz file containing the download links. This file would require the amazon-mp3-downloader to be decrypted. But it&#8217;s only available for a handfull and old distros.</p>
<p>The developer behind clamz managed to find a way to decrypt .amz files, so everyone can buy music from amazon.</p>
<p>First of all install clamz (users of my apt-repo simply install the clamz package):</p>
<p>grab the source from the <a href="http://code.google.com/p/clamz/" class="liexternal">homepage</a>.</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>./configure --prefix=/usr
make
sudo make install (or su -c "make install")</pre>
<p>[/codesyntax]</p>
<p>For simply downloading the purchased files issue:</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>clamz &lt;.amz-file&gt;</pre>
<p>[/codesyntax]</p>
<p>Now lean back and wait until your files are downloaded. By default the files are placed in the music-folder set by <a href="http://www.freedesktop.org/wiki/Software/xdg-user-dirs" class="liexternal">xdg-user-dirs</a> &#8212; this would be $HOME/Music in english or $HOME/Musik in german environments. Of course clamz got the ability to change the output directory and the output filename. Next follows the allowed set of tags for doing so:</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>${title}
${creator}
${album}
${tracknum}
${album_artist}
${genre}
${discnum}
${suffix}
${asin}
${album_asin}</pre>
<p>[/codesyntax]</p>
<p>Some examples on changing the output directory or filename:</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>clamz -o "${artist} - ${title}.${suffix}" &lt;.amz-file&gt;
(= Technoboy Meets Ruffian - The Undersound.mp3)</pre>
<p>[/codesyntax]</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>clamz --output="${tracknum} - ${title}.${suffix}" &lt;.amz-file&gt;
(= 01 - The Undersound.mp3)</pre>
<p>[/codesyntax]</p>
<p>For sure you can combine both switches. If you want to resume an already began download, simply issue:</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>clamz -r &lt;.amz-file&gt;</pre>
<p>[/codesyntax]</p>
<p>For all less common switches check the help:</p>
<p>[codesyntax lang="bash" lines="fancy" lines_start="0" container="none" tab_width="8"]</p>
<pre>clamz --help</pre>
<p>[/codesyntax]</p>
<p><em><strong>Happy listening!</strong></em></p>
<p><em><strong><img src="http://www.nanolx.org/wp-content/uploads//folder-flag-Germany.png" class="alignleft size-full wp-image-146" title="german" alt="" width="60" height="60" /></strong></em></p>
<p><em><strong><span style="color: #ff0000;">The german version of this article has been released on</span> <a href="http://www.pro-linux.de/kurztipps/2/1442/clamz-fuer-amazon-mp3-downloads-nutzen.html" class="liexternal">ProLinux.</a><br />
</strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nanolx.org/newslinux/clamz/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

