Page 1 of 1

Installing Amazon MP3 Downloader in LMDE amd64

Posted: Mon Nov 07, 2011 1:15 pm
by BostonPeng
I know it's a known issue that Amazon's MP3 Downloader is only available in 32-bit version but a simple search reveals pages like this with instructions for installing it with Getlibs. I know Getlibs from Ubuntu but since LMDE isn't based on Ubuntu I was glad to find this page on the Debian user Forums that has a link to a Getlibs in a Debian package for all distros. I installed it, got the Debian package for the Amazon downloader and tried to install it in Konsole but got a rather frustrating batch of error messages:
$ sudo dpkg -i --force-all AmazonMP3DownloaderInstall.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package amazonmp3.
(Reading database ... 226456 files and directories currently installed.)
Unpacking amazonmp3 (from AmazonMP3DownloaderInstall.deb) ...
dpkg: amazonmp3: dependency problems, but configuring anyway as you requested:
amazonmp3 depends on libboost-filesystem1.34.1; however:
Package libboost-filesystem1.34.1 is not installed.
amazonmp3 depends on libboost-thread1.34.1; however:
Package libboost-thread1.34.1 is not installed.
amazonmp3 depends on libboost-iostreams1.34.1; however:
Package libboost-iostreams1.34.1 is not installed.
amazonmp3 depends on libboost-signals1.34.1; however:
Package libboost-signals1.34.1 is not installed.
amazonmp3 depends on libboost-date-time1.34.1; however:
Package libboost-date-time1.34.1 is not installed.
Setting up amazonmp3 (1.0.9-1) ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'virtual/bluedevil-input'
Unknown media type in type 'virtual/bluedevil-audio'
Unknown media type in type 'virtual/bluedevil-sendfile'
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
$
Anyone have any ideas what I could do to fix this?

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sat Nov 12, 2011 3:47 pm
by TomRoche
BostonPeng wrote:amazonmp3 depends on libboost-filesystem1.34.1; however:
Package libboost-filesystem1.34.1 is not installed.
amazonmp3 depends on libboost-thread1.34.1; however:
Package libboost-thread1.34.1 is not installed.
amazonmp3 depends on libboost-iostreams1.34.1; however:
Package libboost-iostreams1.34.1 is not installed.
amazonmp3 depends on libboost-signals1.34.1; however:
Package libboost-signals1.34.1 is not installed.
amazonmp3 depends on libboost-date-time1.34.1; however:
Package libboost-date-time1.34.1 is not installed.
Try satisfying its dependencies. Those versions are kinda old: see this page from lenny. Assuming you're up-to-date on LMDE, when you do

Code: Select all

for SUB in "filesystem" "thread" "iostreams" "signals" "date-time" ; do
  aptitude search ~nlibboost-${SUB}
done
you'll probably get results like mine

Code: Select all

p   libboost-filesystem-dev        - filesystem operations in C++ (default version)                     
p   libboost-filesystem1.42.0      - filesystem operations (portable paths, iteration over directories, 
p   libboost-filesystem1.46-dev    - filesystem operations (portable paths, iteration over directories, 
p   libboost-filesystem1.46.1      - filesystem operations (portable paths, iteration over directories, 
p   libboost-thread-dev            - portable C++ multi-threading (default version)                     
p   libboost-thread1.42.0          - portable C++ multi-threading                                       
p   libboost-thread1.46-dev        - portable C++ multi-threading                                       
p   libboost-thread1.46.1          - portable C++ multi-threading                                       
p   libboost-iostreams-dev         - Boost.Iostreams Library development files (default version)        
i   libboost-iostreams1.42.0       - Boost.Iostreams Library                                            
p   libboost-iostreams1.46-dev     - Boost.Iostreams Library development files                          
p   libboost-iostreams1.46.1       - Boost.Iostreams Library                                            
p   libboost-signals-dev           - managed signals and slots library for C++ (default version)        
p   libboost-signals1.42.0         - managed signals and slots library for C++                          
p   libboost-signals1.46-dev       - managed signals and slots library for C++                          
p   libboost-signals1.46.1         - managed signals and slots library for C++                          
p   libboost-date-time-dev         - date-time libraries based on generic programming (default version) 
p   libboost-date-time1.42.0       - set of date-time libraries based on generic programming concepts   
p   libboost-date-time1.46-dev     - set of date-time libraries based on generic programming concepts   
p   libboost-date-time1.46.1       - set of date-time libraries based on generic programming concepts
where p==not installed (go figure). Try installing the most recent versions, and see if those will satisfy your dependencies. If not, you'll probably need to install backports (via, e.g., editing your sources.list).

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sat Nov 12, 2011 3:56 pm
by BostonPeng
Wow, that's way above my pay grade. I just remembered I post I wrote for my blog about meeting the dependencies abut I'm worried about the architecture issues. Of course there's also the little issue about being written for an Ubuntu-based system rather than a Debian-based one. I'll have to see if I can light a fire under the devs at Amazon and see if they can get 64-bit support added.

*don't* Amazon MP3 Downloader in LMDE amd64

Posted: Sat Dec 24, 2011 6:24 pm
by TomRoche
After fiddling with this awhile today, I can honestly say, don't even bother trying to install Amazon MP3 Downloader in LMDE amd64--too much work. Don't even install clamz, although that is trivial since it's in the debian repositories (package=clamz). Unless you're downloading vast quantities, just use a text editor! The .amz files are XML, which hold the *real* download links in <location> elements. Open those links in your browser, and save the resulting mp3's where desired.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sun Dec 25, 2011 12:50 am
by Transitman
You could also use pymazon.
Works well and I've had no issues with in downloading mp3's from Amazon.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sun Dec 25, 2011 9:17 am
by BostonPeng
Transitman wrote:You could also use pymazon.
Works well and I've had no issues with in downloading mp3's from Amazon.
Thanks for the recommendation of pymazon. Do you know if it will snag entire albums from Amazon's Cloud Player? I can get individual songs from the player but albums are going to be a royal pain downloading them that way. Also I'm seeing that pymazon wants to use either pip or cheeseshop. Do we need either of those in LMDE?

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sun Dec 25, 2011 3:10 pm
by Transitman
BostonPeng wrote:
Transitman wrote:You could also use pymazon.
Works well and I've had no issues with in downloading mp3's from Amazon.
Thanks for the recommendation of pymazon. Do you know if it will snag entire albums from Amazon's Cloud Player? I can get individual songs from the player but albums are going to be a royal pain downloading them that way. Also I'm seeing that pymazon wants to use either pip or cheeseshop. Do we need either of those in LMDE?
I installed PyCrypto (and optionally PyQt4 of PyGtk), then downloaded Pymazon and put it my /home/transitman partiton.
Then I went to that folder and did the following - sudo python setup.py install
Works just fine without all the other stuff.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Sun Dec 25, 2011 5:15 pm
by BostonPeng
Sweet. I was going to try that myself when I got a chance. Thanks for the confirmation that it will work.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Tue Jan 24, 2012 12:33 pm
by Paethon
You actually don't have to install anything. If I open the amz-file with Banshee it automatically downloads the whole album.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Tue Jan 24, 2012 4:00 pm
by Transitman
Paethon wrote:You actually don't have to install anything. If I open the amz-file with Banshee it automatically downloads the whole album.
That's if you have Banshee installed.
You need to remember that there are folks out there that have their music media player preference and may not like or want Banshee on their systems.

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Tue Jan 24, 2012 5:46 pm
by Paethon
Transitman wrote: That's if you have Banshee installed.
You need to remember that there are folks out there that have their music media player preference and may not like or want Banshee on their systems.
That's true of course. I just assumed (and I still think that is the case) since LMDE installs Banshee by default most people will have it on their system. I am also not using it but I it's still there. But maybe I'm the only one being lazy enough to keep software on my system I am not using :)

Re: Installing Amazon MP3 Downloader in LMDE amd64

Posted: Tue Nov 27, 2012 3:02 pm
by KBD47
I know this is an old thread, just wondering if the fixes above still work?
I installed the amazon mp3 player with some old libs and it used to work, but now doesn't. Does pyamazon still work?
I'm trying to download complete mp3 albums that I previously purchased at Amazon, but I get the window saying Linux users must download one song at a time, which is a total pain:
http://mdboom.github.com/blog/2012/09/1 ... for-linux/
I have been moving my entire collection to Google Music which thankfully does support Linux.