Package Details: pymazon 0.9.1-4

Package Base: pymazon
Description: A Python-based downloader for the Amazon MP3 store.
Upstream URL: http://code.google.com/p/pymazon/
Category: network
Licenses: GPL3
Submitter: ZeroCool
Maintainer: bricka
Last Packager: None
Votes: 50
First Submitted: 2010-02-12 21:34
Last Updated: 2013-12-29 05:43

Dependencies (2)

Required by (0)

Sources

Latest Comments

Comment by mib1982

2013-12-31 13:30

Sorry, I didn't subscribe for new comments before and updated just now. Thanks for switching over. With the original package, my downloads wouldn't start at all.

Comment by bricka

2013-12-29 05:47

I have just uploaded pymazon 0.9.1-4, using Michael Strecke's fork of pymazon. I had also been having some issues downloading music, and this fork fixed my issues, so we're giving this a shot.

Let me know if this causes any issues for people. It does revert one of the patches that had been applied previously, and hopefully that is now unneeded.

Comment by bricka

2013-12-15 18:56

Hey mib1982. What wasn't working for you? And can you link me to Michael Strecke's fork? I can try it out and give it a shot.

Thanks!

Comment by mib1982

2013-12-12 22:02

This is not working for me. I installed the fork of Michael Strecke on GoogleCode to make it work.

Comment by bricka

2013-10-01 05:15

I have just applied the patch linked by ava1ar, and it looks like it builds correctly to me. pymazon-0.9.1-3 is now uploaded. Please let me know if it's working for you.

Comment by ava1ar

2013-09-29 03:20

Patch needed, see https://code.google.com/p/pymazon/issues/detail?id=42 for details. Flaging out of date

Comment by mouche

2013-04-10 13:49

It never connects to download a song for me. I get the following error:

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 54, in run
self.do_work()
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 59, in do_work
handle = self._connect(obj)
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 81, in _connect
self.parent.update(self.node)
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 150, in update
self.update(node.parent)
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 148, in update
self.update_cb(node)
File "/usr/lib/python2.7/site-packages/pymazon/gtk/ui.py", line 278, in update_cb
self.update_album_info()
File "/usr/lib/python2.7/site-packages/pymazon/gtk/ui.py", line 297, in update_album_info
self.update_album_art()
File "/usr/lib/python2.7/site-packages/pymazon/gtk/ui.py", line 301, in update_album_art
img = self.current_album.image
File "/usr/lib/python2.7/site-packages/pymazon/core/item_model.py", line 100, in image
return url_image_cache.get(self.image_url)
File "/usr/lib/python2.7/site-packages/pymazon/util/image.py", line 51, in get
return self.cache.setdefault(url, self._factory(url))
File "/usr/lib/python2.7/site-packages/pymazon/util/image.py", line 45, in _factory
pixbuf = self._download(url)
File "/usr/lib/python2.7/site-packages/pymazon/util/image.py", line 38, in _download
handle = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 396, in open
protocol = req.get_type()
File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:

Comment by teeahr1

2013-03-26 22:49

Does not work for me; crashes with the following:

Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 54, in run
self.do_work()
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 63, in do_work
data = self._download(obj, handle)
File "/usr/lib/python2.7/site-packages/pymazon/core/downloader.py", line 92, in _download
fs = int(obj.filesize)
ValueError: invalid literal for int() with base 10: ''

Comment by bricka

2012-10-30 04:42

Dependency updated to be on python2-crypto. Enjoy!

Comment by statenjason

2012-10-23 22:52

Change the pycrypto dependency to python2-crypto

Anonymous comment

2012-09-26 18:45

hey,

i notized that a patch is necessary to use pymazon trouble-free with new amazon mp3 orders. Look at this thread for more details:
http://code.google.com/p/pymazon/issues/detail?id=42

It would be nice if you can add this patch to AUR.
Thanks

Anonymous comment

2012-02-20 14:34

That's not it: I have both of those installed...

Comment by encbladexp

2012-02-18 13:39

optdepends=('pygtk: Gtk2 interface' 'pyqt: Qt interface')

;-)

Anonymous comment

2012-02-18 13:08

I get the following error on running, in 64-bit. I have googled around, but to no avail. Any dea what I am doing wrong? Thanks!
Traceback (most recent call last):
File "/usr/bin/pymazon", line 67, in <module>
main()
File "/usr/bin/pymazon", line 47, in main
raise ImportError(msg)
ImportError: Unable to import PyQt4. You can still use Pymazon via the commmand line with the -c switch. Type `pymazon --help` for more info.

Comment by bricka

2011-12-01 07:40

Updated to version 0.9.1.

Anonymous comment

2011-03-29 19:54

I think you should make an "enhancement proposal" here: http://code.google.com/p/pymazon/issues/list
Till it is included upstream it would be nice to have them both included in this package.

Anonymous comment

2011-03-29 19:31

Dont know if its the responsibility of the package maintainer or if it should be done by the pymazon developers, but how about adding a /usr/share/applications/pymazon.desktop (http://pastebin.com/fvr7BCgz) and a /usr/share/mime/packages/x-amzxml.xml (http://pastebin.com/DYV6X1rW) to this package?
Would make using it a little more comfortable.

Comment by ZeroCool

2010-10-24 13:11

fixed for python2

Comment by encbladexp

2010-10-20 11:11

Should be updated for python2 in Arch, so it works again.

Comment by ZeroCool

2010-07-05 19:45

Update to version 0.9

Anonymous comment

2010-06-29 22:29

I think this PKGBUILD should do the trick: http://aur.pastebin.com/bmTTLLcp

Anonymous comment

2010-06-29 21:55

Current version as of right now is 0.9, note also that pymazon 0.9 no longer has a clamz dependency.

Anonymous comment

2010-04-28 13:05

Updated the PKBGUILD take this one here:

http://aur.pastebin.com/UHQX7mic

with this its also possible to use the command line options.

for example pymazon -c /bla/amazon.amz -d /bla/store/here