diff options
author | Andres Gomez <andres.gomez@jolla.com> | 2015-02-26 16:47:42 +0200 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2015-02-27 15:30:05 +0200 |
commit | 123300bc46e4108ecde7a91186362535298fb6e8 (patch) | |
tree | c601b05da96231dfd8c1c5a58b410c72e2cb24a0 | |
parent | a8d6f648fae78216c4f8c391d12e0d31224530bc (diff) | |
download | tracker-123300bc46e4108ecde7a91186362535298fb6e8.tar.gz |
tracker-extract: mp3 passes album instead of song title to libmediaart
As explained at
https://wiki.gnome.org/MediaArtStorageSpec and
implemented in other extractors, the strings to
pass in order to generate the album art are the
artist and the album title.
https://bugzilla.gnome.org/show_bug.cgi?id=745219
-rw-r--r-- | src/tracker-extract/tracker-extract-mp3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tracker-extract/tracker-extract-mp3.c b/src/tracker-extract/tracker-extract-mp3.c index b93e4f4c0..a89987b81 100644 --- a/src/tracker-extract/tracker-extract-mp3.c +++ b/src/tracker-extract/tracker-extract-mp3.c @@ -2658,7 +2658,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info) mp3_parse (buffer, buffer_size, audio_offset, uri, metadata, &md); #ifdef HAVE_LIBMEDIAART - if (md.performer || md.title) { + if (md.performer || md.album) { MediaArtProcess *media_art_process; GError *error = NULL; gboolean success = TRUE; @@ -2674,7 +2674,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info) md.media_art_size, md.media_art_mime, md.performer, - md.title, + md.album, NULL, &error); } else { @@ -2683,7 +2683,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info) MEDIA_ART_PROCESS_FLAGS_NONE, file, md.performer, - md.title, + md.album, NULL, &error); } |