tblancher / pymazon

Automatically exported from code.google.com/p/pymazon
Other
0 stars 0 forks source link

No mp3-files are created #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to download an mp3-album from amazon.de seems to work at first, but
even when the download is finished no mp3-files are created. I am using the
pymazon GUI, but ran it from the console and got the following output:

  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.6/dist-packages/pymazon/backend.py", line
249, in run
    self.work(track)
  File "/usr/local/lib/python2.6/dist-packages/pymazon/backend.py", line
259, in work
    self._save_mp3(track, mp3_data)
  File "/usr/local/lib/python2.6/dist-packages/pymazon/backend.py", line
307, in _save_mp3
    fname = os.path.join(self.dir_name, track.get_save_name() + '.mp3')
  File "/usr/local/lib/python2.6/dist-packages/pymazon/backend.py", line
183, in get_save_name
    album=self.album)
  File "/usr/lib/python2.6/string.py", line 205, in safe_substitute
    return self.pattern.sub(convert, self.template)
AttributeError: 'QString' object has no attribute 'join'

Original issue reported on code.google.com by dierk.er...@gmail.com on 30 May 2010 at 4:31

GoogleCodeExporter commented 8 years ago
what version of pyqt are you using?

Original comment by SCColbert@gmail.com on 30 May 2010 at 9:06

GoogleCodeExporter commented 8 years ago
This issue occurs when using a new custom name format created via the QT gui. 
Thanks 
for pointing it out. 

Fixed in source tree.

Original comment by SCColbert@gmail.com on 30 May 2010 at 9:28