[solved] Sonata doesn't show cd-covers

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)

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)

Similar Messages

  • [SOLVED] akregator doesn't show images in the preview pane

    I have three different PCs with Arch and kdemod-legacy (that is, kde 3.5.9) and on all of them I use akregator (a RSS/Atom feed reader).
    One of the feed I subscribed is from an image board: when new images are uploaded to the site, I'm notified and clicking on the link in the articles section of akregator I can see in the lower pane a thumbnail of the image.
    However this doesn't happen on my third pc: I *suppose* the installed applications and libraries are the same between all the machines, and the akregator options seems to be same as well.
    Does anybody have an idea about this?
    Thanks in advance for your time.
    Last edited by daneel971 (2008-09-03 06:11:17)

    Thanks for your reply.
    Daren wrote:do you have the option set to load the full article in the pane?
    Without this, it just displays an overview.
    That's right - I don't use that option because it's usually unnecessary: the overview usually does show a thumbnail of the image, and I can avoid loading the entire page.
    Anyway, I noticed that switching from RSS to Atom (for the same feed, I mean) solves the issue - so maybe it was related to the type of feed used.

  • Cover Flow Doesn't show some covers

    When iTunes imports a CD on a popular album, I click on Download Cover Art, and 75% of the time it can't find a cover art.
    I usually can find the cover art easily on www.allmusic.com and transfer it into iTunes.
    When I sync the Nano, I've noticed that there are a couple of album covers that don't show in the Cover Flow, although, when I go to artist or albums, it shows up there.
    Any ideas on this?
    Thanks

    I've had this problem also. This problem usually happens when I update new artwork to the iPod. SOLUTION: Try deleting the entire album from the iPod, then re-transfer the whole album from iTunes with the new artwork. This solution has worked for me every time (so far). Best of luck.
    So many things about the 160GB performance suck ***, but I love the stupid thing. Hoping they fix all the bugs soon!

  • Sonata doesn't show kanji/kana.

    I have a problem with Sonata. On my desktop PC I've never had problems displaying kanji in the lyrics, but on my notebook - that's another story... They all show up like... some strange symbols "‚ ã —å "...
    The only difference is that my desktop runs i686 and my notebook x86-64 (and I suppose that the desktop has more fonts installed, since I didn't have enough time to install everything on my notebook before I went on my vacation).

    Well... installed both packages - ttf-arphic-ukai and ttf-arphic-uming, but after I restarted Sonata - no difference at all... maybe I need to restart X...
    Will try that later...
    EDIT: Even without those fonts kanji/kana display fine in xchat IRC
    Last edited by Dheart (2008-07-25 22:27:10)

  • [SOLVED] Thunar doesn't show external volumes anymore

    Hello,
    Thunar used to show external devices (USB sticks, iPod, ...) in the left panel (when displaying shortcuts instead of tree). For some reason I can't figure, it doesn't do it anymore.
    All I have in the left panel is the standard "home, Desktop, filesystem" and the static links to the different folders I placed there.
    I tried to uninstall completely thunar and remove the configuration files, then re-install it, but it changed nothing.
    Desktop : openbox.
    Running daemons (I'm not sure if all of theme are relevant) : dbus, hal, fam.
    .config/Thunar/thunarrc :
    [Configuration]
    DefaultView=void
    LastCompactViewZoomLevel=THUNAR_ZOOM_LEVEL_SMALLEST
    LastDetailsViewColumnOrder=THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE,THUNAR_COLUMN_DATE_MODIFIED
    LastDetailsViewColumnWidths=50,204,50,50,134,50,50,64,109
    LastDetailsViewFixedColumns=FALSE
    LastDetailsViewVisibleColumns=THUNAR_COLUMN_DATE_MODIFIED,THUNAR_COLUMN_NAME,THUNAR_COLUMN_SIZE,THUNAR_COLUMN_TYPE
    LastDetailsViewZoomLevel=THUNAR_ZOOM_LEVEL_SMALLER
    LastIconViewZoomLevel=THUNAR_ZOOM_LEVEL_NORMAL
    LastLocationBar=ThunarLocationButtons
    LastSeparatorPosition=184
    LastShowHidden=FALSE
    LastSidePane=ThunarShortcutsPane
    LastSortColumn=THUNAR_COLUMN_NAME
    LastSortOrder=GTK_SORT_ASCENDING
    LastStatusbarVisible=TRUE
    LastView=ThunarIconView
    LastWindowHeight=441
    LastWindowWidth=743
    LastWindowMaximized=FALSE
    MiscVolumeManagement=TRUE
    MiscCaseSensitive=FALSE
    MiscDateStyle=THUNAR_DATE_STYLE_SIMPLE
    MiscFoldersFirst=TRUE
    MiscHorizontalWheelNavigates=FALSE
    MiscRecursivePermissions=THUNAR_RECURSIVE_PERMISSIONS_ASK
    MiscRememberGeometry=TRUE
    MiscShowAboutTemplates=TRUE
    MiscShowThumbnails=TRUE
    MiscSingleClick=FALSE
    MiscSingleClickTimeout=500
    MiscTextBesideIcons=FALSE
    ShortcutsIconEmblems=TRUE
    ShortcutsIconSize=THUNAR_ICON_SIZE_SMALLER
    TreeIconEmblems=TRUE
    TreeIconSize=THUNAR_ICON_SIZE_SMALLEST
    What should I do to get it working again ?
    Thanks in advance !
    PS : please tell me if I forgot anything. Also, I searched for similar topics in the forum, but haven't found anything.
    Last edited by Alfred456654 (2011-02-11 07:13:58)

    Hello,
    Yes, I have gvfs installed :
    yaourt -Ss gvfs
    1 extra/gvfs 1.6.6-1 [installé]
    Userspace virtual filesystem implemented as a pluggable module for gio
    2 extra/gvfs-afc 1.6.6-1 [installé]
    AFC (mobile devices) backend for gvfs
    3 extra/gvfs-gphoto2 1.6.6-1
    gphoto2 (PTP camera/MTP media player) backend for gvfs
    4 extra/gvfs-obexftp 1.6.6-1
    ObexFTP (bluetooth) backend for gvfs
    5 extra/gvfs-smb 1.6.6-1 [installé]
    SMB/CIFS (Windows client) backend for gvfs

  • [SOLVED] Steam doesn't show text anymore even with -no-dwrite

    wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite
    Wine cannot find the ncurses library (libncursesw.so.5).
    fixme:ver:GetCurrentPackageId (0x33e460 (nil)): stub
    ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
    Edit: Fixed by logging out and closing, then it worked again.
    Last edited by lolwtfidk (2015-02-28 03:30:58)

    In my post I referred to the problem of digiKam v.1.1.0 not autorotating images correctly anymore when it's downloading and processing them from the camera, whereas v. 1.0.0 did so correctly (without to my knowledge having any Kipi plugins installed).  I.e. v.1.1.0 is configured to autorotate but it doesn't really do it; it doesn't rewrite the EXIF orientation tag.  It does display portrait images correctly in its own viewer (and so does Gwenview) but the other programs don't when they access these images in the album directory.  They show the wrong orientation but none of them, Gwenview included, has any problem in allowing me to manually rotate the image to the correct orientation that can then be passed on e.g. to Thunderbird.
    Of course, I could process all the images taken in portrait orientation manually, e.g. in GIMP, but why do so when digiKam 1.0.0 and earlier used to do it automatically.  Besides, the image rotation in digiKam is supposed to be lossless which may not be true if I use other programs.
    Again, a short summary: portrait image from camera downloaded with digiKam -> displayed correctly in digiKam (and Gwenview) but not really rotated according to EXIM tags -> can be rotated further (another 90 deg) and saved in digiKam or Gwenview and can then be displayed correctly in GIMP, Firefox and Thunderbird but would not be correctly displayed anymore in digiKam and Gwenview.
    I haven't figured out how to rotate images in Gwenview from the CLI, hence can't produce any error messages.
    Sorry to be so verbose again.

  • [Solved] Conky doesn't show network speed

    Hello Archers!
    I have my old conky config with net speed indication which worked in past but stopped working this installation. My user is in “network” group and I have
    ${font monospace:bold:size=10}NETWORK ${hr 2}
    ${font monospace:normal:size=10}Download: ${alignr}${downspeedf eth0} KB/s
    Upload: ${alignr}${upspeedf eth0} KB/s
    in my ~/.conkyrc file. It used to show speed in KB/s but now just zeros, all the time. What would be the reason for this malfunction?
    Last edited by Mr. Alex (2013-07-28 09:27:41)

    Mr. Alex wrote:
    jasonwryan wrote:it isn't the smartest thing to post here...
    Yeah, I know Arch maintainers don't accept criticism anymore. But mine wasn't even obvious and yet you pointed that out and called it “not the smartest thing to post here”. Totalitarian regime inside of a distro. Free speech is forbidden. Arch Linux, ladies and gentlemen!
    Read the Etiquette. Your histrionics are as unfounded as your original slur. If you had even the slightest clue of what a totalitarian regime actually involved, you would be ashamed of yourself for that association.
    Don't post here again unless you are prepared to accept responsibility for your own incompetence.
    Closing

  • [SOLVED]lm_sensors doesn't show fan speed (or much else)

    I'm going to start with a bit of code to illustrate the context
    $ sudo sensors-detect
    Now follows a summary of the probes I have just done.
    Just press ENTER to continue: yes
    Driver `coretemp':
    * Chip `Intel digital thermal sensor' (confidence: 9)
    $ sudo sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Physical id 0: +63.0°C (high = +84.0°C, crit = +100.0°C)
    Core 0: +63.0°C (high = +84.0°C, crit = +100.0°C)
    Core 1: +62.0°C (high = +84.0°C, crit = +100.0°C)
    Core 2: +62.0°C (high = +84.0°C, crit = +100.0°C)
    Core 3: +55.0°C (high = +84.0°C, crit = +100.0°C)
    Now, I was under the impression that Fan speed should be being displayed, along with other things. Am I missing a kernel module of some kind? I feel like it is an incorrect setup of mine. I can't find anything on the wiki page https://wiki.archlinux.org/index.php/lm_sensors or in the forums, but I feel like I'm missing something.
    I do not want to add a dangerous kernel parameter but can't figure out what my motherboard is (or how to add the asus_atk0110 driver to my kernel configuration) from the suggestion here http://www.lm-sensors.org/wiki/FAQ/Chap … rnel2.6.31
    EDIT: turns out the motherboard is W35xSTQ_370ST by SEAGATE. I don't however know how to use this knowledge to figure out if I should be loading any other kernel modules or what sensors are available, e.t.c.
    Thanks in advance.
    Last edited by crashandburn4 (2015-01-02 20:26:23)

    Most likely your hardware doesn't provide more information. I've seen this mostly in laptops. This is from my Acer:
    [xxx@arch ~]$ sensors
    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0: +56.0°C (high = +80.0°C, crit = +90.0°C)
    Core 2: +54.0°C (high = +80.0°C, crit = +90.0°C)

  • [SOLVED] Thunar doesn't show any USB storage devices.

    Hi,
    i'm using arch for a quite long time now and thankfully never had to use the support forums, because of the great wiki but this time i really got stuck...
    Installed a fresh arch a few days ago, because of an HDD Crash and now i can't see any USB devices (SD-Cards/USB-Sticks) in Thunar anymore and so i always have to mount them in terminal :-/
    Already installed thunar-volman and gamin, and  i am member of the storage group.
    Any help ? Thanks !
    Last edited by JHnet (2012-11-10 06:26:12)

    Well..Fuck. Just had to install gvfs - as mentioned in the wiki -..

  • Hi, i installed ios 5 for my iphone 4 and the camera function on lock screen was on the first few days , now it doesn't show the lock screen . is there any change i can do . Pls help me to solve the issue.

    hi, i installed ios 5 for my iphone 4 and the camera function on lock screen was on the first few days , now it doesn't show the lock screen . is there any change i can do . Pls help me to solve the issue.

    nishaadp wrote:
    ... it stucks with the apple logo ,  nothing works. Is anything i can do?
    See Here for
    Frozen or unresponsive iPhone

  • Conky doesn't show (XFCE 4.8) and keeps asking password? [SOLVED]

    I've finally got XFCE4.8 all dressed up the way I want it to look.
    Only problem left is Conky:
    1.It simply doesn't show on the desktop.
    2.It keeps asking for a password?
    If i start conky via terminal i get this:
    =========================================================
    [sven@myhost ~]$ conky
    Conky: desktop window (1400003) is subwindow of root window (15d)
    Conky: window type - override
    Conky: drawing to created window (0x2000001)
    Conky: drawing to double buffer
    Password:
    =========================================================
    My .conkyrc looks like this:
    =========================================================
    own_window yes
    own_window_colour 0F0D0D
    use_spacer right
    use_xft yes
    # Update interval in seconds
    update_interval 1
    # This is the number of times Conky will update before quitting.
    # Set to zero to run forever.
    total_run_times 0
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent no
    own_window_type override
    own_window_hints undecorate,below,skip_taskbar,sticky)
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    #colour
    default_color 808080
    own_window_colour 333333
    #font
    use_xft yes
    xftfont Droid Sans:pixelsize=11
    # Stippled borders?
    stippled_borders 0
    # border margins
    # border width
    border_width 1
    alignment top_left
    gap_x 5
    gap_y 5
    # --- Colours, Sizes, Fonts & Margins --- #
    minimum_size 1356 0
    #stippled_borders 3
    #border_inner_margin 9
    # --- Text --- #
    draw_outline no
    draw_borders no
    uppercase no
    draw_shades no
    # --- if-up_strictness --- #
    if_up_strictness link
    TEXT
    ${color}CPU0: ${color ffffff} ${execi 5 sensors | grep -A 0 'Core 0' | cut -c15-21} | ${color}CPU1: ${color ffffff} ${execi 5 sensors | grep -A 0 'Core 1' | cut -c15-21} | ${color}HDD: ${color ffffff} ${execi 60 sudo hddtemp /dev/sda | grep -A 0 '/dev/sda' | cut -c24-29} | ${color}RAM: ${color ffffff} $mem | ${color} Total Down: ${color ffffff} ${if_up eth0}${totaldown eth0}${else}${if_up wlan0}${totaldown wlan0}${endif}${endif} | ${color}Total Up: ${color ffffff}${if_up eth0}${totalup eth0}${else}${if_up wlan0}${totalup wlan0}${endif}${endif} | ${color} Down Speed: ${color ffffff} ${if_up eth0}${downspeed eth0}${else}${if_up wlan0}${downspeed wlan0}${endif}${endif}| ${color}Up Speed: ${color ffffff} ${if_up eth0}${upspeed eth0}${else}${if_up wlan0}${upspeed wlan0}${endif}${endif} ${alignr} ${color} Battery: ${color ffffff} ${battery_percent}% ${color} | ${color ffffff}${time %A} ${time %e} ${time %B} ${time %G} - ${time %H:%M:%S}
    =========================================================
    Any help is appreciated!
    Sven
    Last edited by killerturtle (2011-06-29 15:30:40)

    jasonwryan wrote:You should look at using visudo to make this script run with the hddtemp call...
    Ok, thx; I'll look into that.
    Now still to solve the first problem....

  • My iPad 2 doesn't show the album covers any more

    How can I get the covers back

    That feature doesn't show on the iPad2. I only have the symbol in the upper corner as well. You can buy a batter app that when used will show the battery upon wake up.

  • [solved] Nautilus on Gnome doesn't show preview img of any video file

    Nautilus on Gnome 2.24 doesn't show preview image of any video file. Images are normal. Somebody have this issue too?
    Last edited by alessandro_ufms (2008-10-24 12:29:25)

    Nautilus uses Totem and Gstreamer codecs to show video thumbs. Maybe a reinstall would solve the problem. Actually, I have no idea other then this.
    Last edited by GERGE (2008-10-24 12:22:00)

  • Pcmanfm-qt doesn't show icons[Solved]

    Hello,
    I've lxqt latest installed and
    pcmamfm-qt
    doesn't show icons. It worked before. This behavior developed when I replaced git packages with packages of the Community repository. I've already reinstalled pcmanfm but this hasn't solved the issue.
    Any idea what could be wrong?
    Thank you
    Last edited by jmak (2015-02-17 01:10:13)

    How I solved this: I do everything like said @fish-hp14, select "tlen" icons in uset interface (there shows mi two options with tlen, i select this first). Then install lxqt-qtplugin. After that in "User Interface" in preference disappear option to select icon, but after that, when I restart computer icons are alrgiht (nothing dissapear).
    Only problem I have after this is with clock. I select "show date below time on new line". Before install lxqt-qtplugin date and time was clearly visible. But now date is cut in half.

  • When I try to boot my macbook pro the startup manager doesn't show any drives. How can I solve this issue?

    when I try to boot my macbook pro the startup manager doesn't show any drives. How can I solve this issue?

    Please confirm what version of OS X you are running - I doubt it is the ancient OS 10.1 !

Maybe you are looking for

  • How to connect Satellite Pro C to TV?

    Hi Everyone, Thanks. I would like to connect my C series up to my TV. The C series only has an External Video Port. My TV has RCA inputs and an SVHS input or S_Video imput. Can anyone help? John

  • Printing 2 photos borderless on single 4x6 sheet?

    Ok, Ive been trying to get this to work without any luck. I'd like to print 2 pictures, borderless, on a single 4x6 sheet (cropped to fit as nicely as possible). Can someone outline what permutation of options I need from the print menu? I've tried c

  • Scheduling email in lion mail?

    I need an easy and reliable way to schedule emails to be sent out at a particular time via mail. Any leads?

  • Attachments folder security

    Hello Experts, I have a client that is using the Human Resources module in B1 and is storing confidential information, such as employee reviews in the B1 attachments folder.  A while ago they restricted access to this folder on the server for most of

  • Searching in Hebrew for Apps in Israel's iTunes Store yields irrelevant results?

    Does search in Hebrew works with Hebrew keywords? Or at least the App's Hebrew title? Two examples: Top 6 hits when searching for  Restaurants in Hebrew ("מסעדות") are: (all title are in Hebrew) Learn Spanish Learn French Learn German Learn Italian e