Guayadeque plugin doesn't update cover properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CoverGloobus |
Fix Committed
|
Low
|
Alexandr Grigorcea |
Bug Description
Error occurs on any track which Guayadeque has a cover for. Any track which has no cover is successfully passed on to an alternate cover search plugin. Because of the error CoverGloobus won't update track artist, title, etc on any of these tracks. Also, if CoverGloobus is opened while one of these tracks is playing, then the CoverGloobus window will not show at all (nor will the notification icon). Even changing to a track which would normally display properly will not get the window to show up.
Here's the debug output, where I started CoverGloobus while playing a song which has no coverart in Guayadeque, then switch to a song where Guayadeque does have coverart:
[DEBUG] Installed themes:
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /usr/share/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
* /home/mackenan/
[DEBUG] Installed players:
* Amarok2
* Audacious2
* Banshee
* Clementine
* DeaDBeeF
* Exaile
* Exaile3
* Exaile3MPRIS
* gmusicbrowser
* Grooveshark
* Guayadeque
* Listen
* MOC
* MPD
* Pithos
* QuodLibet
* Rhythmbox
* Songbird
* Spotify
* Totem
* VLC
[DEBUG] Prefix: /usr
[DEBUG] ABS_PATH: /usr/share/
[DEBUG] Initializing dbus
[DEBUG] LYRICS: init done
[DEBUG] COVERSEARCH: loading engine Amazon
[DEBUG] COVERSEARCH: loading engine Location
[DEBUG] Loading player
[DEBUG] Connecting player
[DEBUG] Player loaded: Guayadeque
[WARNING] Guayadeque: arturl not found in current track
local done
[DEBUG] Cover found in cache: /home/mackenan/
[DEBUG] UI: Theme path: /home/mackenan/
[DEBUG] Showing status icon: True
[DEBUG] Init done
ERROR:dbus.
Traceback (most recent call last):
File "/usr/lib64/
self.
File "/usr/share/
self.
File "/usr/share/
callback(*args)
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
callback(*args)
File "/usr/share/
self.
File "/usr/share/
ob = self.cg.
File "/usr/share/
self._load()
File "/usr/share/
False)
GError: Unrecognized image file format
I ran dbus-monitor to track what Guayadeque was passing on track changes. The problem tracks are ones with embedded cover images. Guayadeque passes the audio file as the arturl for those tracks.
Would it be possible to check for supported image formats at some time prior to image load? Then when the track is changed compare the arturl to the list of supported formats, and if it doesn't match act as if there were no arturl passed.