After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737571 - No covers loaded on libmediaart 0.6.0
No covers loaded on libmediaart 0.6.0
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
3.14.x
Other Linux
: Normal normal
: 3.14
Assigned To: gnome-music-maint
gnome-music-maint
: 738798 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-09-29 09:39 UTC by Cédric Bellegarde
Modified: 2014-10-19 12:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug file (30.16 KB, application/x-bzip)
2014-09-29 10:03 UTC, Cédric Bellegarde
Details

Description Cédric Bellegarde 2014-09-29 09:39:48 UTC
Since GNOME 3.14, gnome-music doesn't load any cover art...

Tested on Fedora Raw Hide and Archlinux.
Comment 1 Vadim Rutkovsky 2014-09-29 09:57:08 UTC
Please re-run gnome-music in debug mode ('gnome-music -d') and attach the output to the issue
Comment 2 Cédric Bellegarde 2014-09-29 10:03:28 UTC
Created attachment 287330 [details]
Debug file

Compressed as too huge for bugzilla
Comment 3 Vadim Rutkovsky 2014-09-29 11:01:34 UTC
(In reply to comment #2)
> Created an attachment (id=287330) [details]
> Debug file
> 
> Compressed as too huge for bugzilla

(gnome-music:23372): Grilo-WARNING **: [registry] grl-registry.c:944: Failed to open module: libgom-1.0.so.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
/usr/lib/python3.4/site-packages/gnomemusic/grilo.py:88: Warning: The property SoupSession:ssl-ca-file is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.registry.load_all_plugins()

Your grilo is broken. Please reopen the issue if it still occurs after a proper build
Comment 4 Cédric Bellegarde 2014-09-30 06:30:07 UTC
Grilo isn't broken, this patch fix issue:
diff --git a/gnomemusic/albumArtCache.py b/gnomemusic/albumArtCache.py
index 64b4bf2..4ac5707 100644
--- a/gnomemusic/albumArtCache.py
+++ b/gnomemusic/albumArtCache.py
@@ -155,7 +155,7 @@ class AlbumArtCache:
                 self.finish(item, None, None, callback, itr)
                 return
 
-            path = MediaArt.get_path(artist, album, "album", None)[0]
+            path = MediaArt.get_path(artist, album, "album", None)[1]
             while path in self.queue:
                 sleep(0.5)
             self.queue.append(path)
Comment 5 Vadim Rutkovsky 2014-09-30 07:42:22 UTC
(In reply to comment #4)
> Grilo isn't broken

It obviously is, what matters is how important that is to the issue - it might be a message from grilo plugin or grilo itself. Anyway, please make sure you've found the source of the problem and fixed it before filing issues on gnome-music.


>this patch fix issue:
Which libmediaart version are you using?
Comment 6 Cédric Bellegarde 2014-09-30 07:43:34 UTC
libmediaart 0.6.0-1
Comment 7 Vadim Rutkovsky 2014-09-30 07:46:43 UTC
Works fine on my libmeddiart 0.4.0, so it might be a compatibility break
Comment 8 agustin 2014-10-01 22:50:12 UTC
Same problem here. 

Details:
gnome-music-3.14.0-1.fc21.x86_64
libmediaart-0.7.0-1.fc21.x86_64
Comment 10 Vadim Rutkovsky 2014-10-19 12:14:22 UTC
*** Bug 738798 has been marked as a duplicate of this bug. ***