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 727333 - Feature request: load album art embedded in music files
Feature request: load album art embedded in music files
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Extractor
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2014-03-30 09:06 UTC by Timur Kristóf
Modified: 2014-04-01 15:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timur Kristóf 2014-03-30 09:06:09 UTC
I raised this in the #gnome-music channel on IRC and the developers there directed me here.

It seems that grilo can't load album art that is embedded in tags of music files. This would be a very nice feature addition.
Comment 1 Juan A. Suarez Romero 2014-03-31 06:55:14 UTC
In theory Tracker should extract that album art from the music file. And later Grilo would access it through the Tracker plugin, which is the one used by gnome-music.
Comment 2 Timur Kristóf 2014-04-01 11:52:02 UTC
Juan, thanks for your reply. I'm honestly not sure where the bug is, but embedded album art definitely doesn't appear in gnome-music.

If you can tell me how to, I can try to dig deeper and find where the exact problem is.
Comment 3 Juan A. Suarez Romero 2014-04-01 12:28:43 UTC
I would fist try using grilo-test-ui and see if it gets the cover (thumbnail in grilo).

This way we can know if problem is in music or not.
Comment 4 Timur Kristóf 2014-04-01 15:29:21 UTC
I've had an IRC discussion in the #grilo and #tracker channels.

It seems that grilo-test-ui doesn't see the album arts either, meaning that the bug is probably somewhere in tracker. Here's the terminal output of 'tracker-extract' and 'tracker-info': http://paste.fedoraproject.org/90625/63645291/

The relevant part seems to be:


Processing media art: artist:'Within Temptation', title:'The Silent Force', type:'album', uri:'file:///home/Timur/Music/Within%20Temptation/The%20Silent%20Force/04%20-%20Within%20Temptation%20-%20The%20Silent%20Force%20-%20Stand%20My%20Ground.mp3'. Buffer is 21720 bytes, mime:'image/jpeg'
media_art_set: assertion 'artist == NULL' failed
Comment 5 Martyn Russell 2014-04-01 15:45:37 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.

I've just released 0.4.0 with this fix in :)
See:

  https://mail.gnome.org/archives/tracker-list/2014-April/msg00000.html

and the commit:

  https://git.gnome.org/browse/libmediaart/commit/?id=1c6cfd6728502020a01f9cfab6733bac311298e3

Thanks for reporting :)