You are not logged in.
Hi,
since last Pacman -Syu Sonata does not show the CD-Covers.
The .jpg cover-files are in the same directories where the .mp3 files of an album are saved.
~/music/Band/Album/*.mp3
This is the console output
$ sonata
Taglib and tagpy not found, tag editing support disabled.
SOAPpy not found, fetching lyrics support disabled.
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/sonata.py", line 2781, in set_image_for_cover
if self.filename_is_for_current_song(filename):
File "/usr/lib/python2.5/site-packages/sonata.py", line 2824, in filename_is_for_current_song
if filename == self.musicdir + songdir + "/" + self.single_img_in_dir:
NameError: global name 'songdir' is not defined
Last edited by SiD (2007-05-18 13:08:03)
Offline
That's a known bug in Sonata, it has been fixed in svn so you can either checkout the svn version or wait for the next release (should come soon I think).
Or, you could edit the file manually and add the following line above "if filename == self.musicdir + songdir + "/" + self.single_img_in_dir:":
songdir = os.path.dirname(self.songinfo.file)
so it ends up like this:
if self.single_img_in_dir and self.songinfo:
songdir = os.path.dirname(self.songinfo.file)
if filename == self.musicdir + songdir + "/" + self.single_img_in_dir:
return True
Last edited by [vEX] (2007-05-18 13:02:36)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
ok, thanks.
Adding the line to sonata.py works.
EDIT:
It's fixed in the new version 1.1.1
Last edited by SiD (2007-05-24 11:51:52)
Offline