Banshee's Amazon MP3 Import extension until recently allowed seamless importing of songs purchased from Amazon MP3. It did this by a)opening .amz
files and using them to connect to and download the purchased files from Amazon's servers, and b) using hooks in Banshee's built-in browser to automatically recognize and open the .amz
files when clicked on in the browser.
However, recently this functionality stopped working. Banshee will display Contacting Server in the lower left hand corner for a little while and then stop.
Furthermore opening the Amazon Cloud Player in the Banshee browser or any other browser on a Linux system to manually download the .amz
file now results in the message:
On Linux systems, Cloud Player only supports downloading songs one at a time. To download your music, deselect all checkboxes, select the checkbox for the song you want to download, then click the "Download" button.
How can I get around this and import my purchased music into Banshee as I used to?
This is not a technical problem. Banshee is still able to open
.amz
files and use them to download purchased music. However this problem results from a decision by Amazon to unilaterally restrict all browsers with linux user agent strings from being able to download.amz
files.Luckily there is one immediate workaround, and a couple avenues for further action as well.
Quick and dirty workaround:
user agent switcher
to switch your user agent string toIE 8
. You can add theuser agent switcher
icon to your toolbar by right clicking the Firefox toolbar area and clickingCustomize
..amz
files instead of being prompted to install Amazon MP3 downloader first.Download
..amz
file and it will automatically download and import the songs!Possibilities for more permanent solutions:
The fact that the above workaround can be used proves that this is not a technical issue but rather a choice by Amazon to restrict certain browser user agent strings from being able to download
.amz
files. Therefore there a two paths towards a more streamlined fix for this problem.Write Amazon asking them to explain this change and detailing it's negative effects on you. Here is the message I sent them:
Note: I've written this answer up quickly to try and help those who are also facing this problem. I would highly welcome other answers that are better illustrated and/or provide alternative workarounds! I'd prefer to accept a better written/illustrated answer than this one!
When you buy the album, you'll get to a page with a final acknowledgment of the purchase. In that page there's a link ("download your music now") to an .amz file that you can open in Banshee.
I haven't found (or looked very hard) at a way to get that file again once you close that page, but the method above should be enough to get the music in a way close enough to the old/better way without messing around with an agent switcher.
If you launch the cloud player (it's just a web app) and then find the music you bought, it can be downloaded as a file. It's way less convenient than having banshee do it all automatically, but less annoying than messing with user-agent strings in a browser.
Note though, that if you try to d/l more than one track at a time, you get a message saying that this is explicitly disabled for Linux users.
Steps 1-4 of the "quick and dirty workaround" work for me, too, in order to get the .amz file in the first place (on Ubuntu 12.10).
But step 5 doesn't, at least for Cloud Player .amz files. Some posts suggest there's a difference between purchased .amz files and Cloud Player .amz files. Banshee (2.6.0) opens the .amz file, recognizes the tracks listed in it, indicates a download has started, indicates the downloads finished, without actually downloading anything.
I tried clamz 0.5 and pymazon 0.9.1 and these gave me a better indication of what's happening, they log a 500 Internal Server Error when downloading each track. The comments at the bottom of the Pymazon HowToAmzDownload pointed me in the right direction. Installing jsphslgr's clone of pymazon yields a Pymazon that successfully downloads tracks from a Cloud Player .amz file. Apparently it has to do with user-agent checking on Amazon's side. So in short:
If you subscribe to the Banshee Team PPA then downloads are now working again as normal.
I wrote a Greasmonkey Script that works around Amazons restrictions on downloading .amz files on Linux you can get it here:
http://userscripts.org/scripts/show/426973