Local cover display broken in most plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Hi, I'm trying to hunt down problems with local cover display I have since some time in 0.3.1+, currently running on r2660.
Except for the main now playing display, local covers are not shown in most plugins. This applies for the notifyosd popups, context info and the desktop cover plugins. However the cover is correctly shown in the AWN plugin.
If I switch to the lastfm cover provider, covers are correctly shown in all the places.
Here is what exaile --debug logs to stdout when I start playing a track (local cover provider).
INFO : Playing file://
INFO : Attempting to find covers for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.cover)
INFO : Found covers from local (xl.cover)
DEBUG : Setting AWN cover to '/home/
INFO : Attempting to find covers for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.cover)
INFO : Found covers from local (xl.cover)
DEBUG : Setting AWN cover to '/home/
DEBUG : Getting cover for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (notifyosd_cover)
DEBUG : Did not find cover, using DEFAULT_COVER (notifyosd_cover)
DEBUG : Using image '/media/
INFO : Attempting to find covers for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.cover)
INFO : Found covers from local (xl.cover)
INFO : Attempting to find covers for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.cover)
INFO : Found covers from local (xl.cover)
INFO : Attempting to find covers for 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.cover)
INFO : Found covers from local (xl.cover)
INFO : Attempting to submit "Now Playing" information to AudioScrobbler... (audioscrobbler)
Traceback (most recent call last):
File "/media/
pixbuf = gtk.gdk.
glib.GError: Failed to open file 'file:/
DEBUG : Searching for 10 tracks related to 'Doll' from 'The Colour and the Shape' by 'Foo Fighters' (xl.dynamic)
INFO : Submitted "Now Playing" successfully to AudioScrobbler (_scrobbler)
Context info in that case then just swallows the whole playing-panel the cover would reside in. notifyosd shows the fallback image and desktop cover does not appear at all any more.
The path is actually correct. and when I ctrl-click on it in the console, it opens the correct file.
Regards, Alex
Changed in exaile: | |
status: | Fix Committed → Fix Released |
Confirmed. Note: The "obvious" fix of doing gio.File( uri).get_ path() will likely fail if the URI is a remotely mounted GIO volume (e.g. an smb: or sftp: URI).