I’m Just an Avatar

Nanci Barthelmess’ blog

Archive for January 7th, 2009

Get Amazon’s MP3 downloader to play with Epiphany

Posted by BostonPeng on 7 January 2009

Since I switched to Epiphany last month there are some extensions that I’m having to do without, but there is one thing that I realized I had to deal with, that’s making sure I could download MP3s from Amazon’s digital media store was easily as I could with Firefox. Firefox users know that it’s a piece of cake to register the downloads with Firefox so that in the future all you have to do is accept the download and your system would automatically launch the Amazon downloader to snag the tracks you just bought.

Alas, it’s not so easy with the official GNOME web browser. in true GNOME fashion there’s no handy dialog boxes for telling your browser what to use to open the .amz files, thereby giving you the chance to either save the file or cancel the download altogether, something you probably won’t want to do with tracks that you paid for. Luckily I’m not the only one who had to deal with this problem.

Sean Fulmer looked into it and has an easy way to let Epiphany know what to do with .amz files, and it’s as close as a sudo gedit command away. Please be careful making these changes, because once you put in your sudo password you’ll have direct access to configuration files. I’m not saying you should be afraid of the instructions I’m about to give you, but any mime-type you add to the <safe> section will tell Epiphany to let you open that type of files in the future, and it will be up to you to know that the source you get them from won’t send you malware. (Not that Windows malware will work on Linux, mind you.)

Open up a Terminal window and run

sudo gedit /etc/gnome/epiphany/mime-types-permissions.xml

When the file opens in your text editor go down to the <safe> section (I like putting it at the bottom) and add this on it’s own line

<mime-type type="audio/x-amzxml"/>

Then save your file, close Epiphany and when you open your browser back up you can buy any MP3 that Amazon sells without having to save the .amz file first before you can actually download your new music. This will also work with other file types as long as you know the specific mime-type to use.

Now if Amazon would only add Linux support to their video downloads….

Posted in Music, Tech, Ubuntu | Tagged: , | Leave a Comment »