GNOME Bugzilla – Bug 764143
Artist preferred over AlbumArtist when adding AlbumArtist data
Last modified: 2016-05-07 17:10:34 UTC
MP3 extracter currently gives priority to artist tag (TPE1) over albumArtist tag (TPE2) when adding albumArtist information. Example: ID3Info: https://paste.gnome.org/pzvoffbxx ./tracker-extract -f <filename> https://paste.gnome.org/plthlr5bx Relevant lines are 85 and 86 in the second link where albumArtist is set to Mark Ronson instead of Various Artists.
Created attachment 324676 [details] [review] Prefer TPE2 tag for AlbumArtist
Review of attachment 324676 [details] [review]: Looks mostly good! thanks for the patch. Just two minor nits, can be pushed after fixing. ::: src/tracker-extract/tracker-extract-mp3.c @@ +2372,3 @@ md.id3v1.artist); + md.album_artist = tracker_coalesce_strip (3, md.id3v24.performer2, Indenting got wrong here :). Keep in mind the weird tracker code style, tabs for code flow related indenting, spaces to add padding in eg. multiline declarations, something like: <tab>md.album_artist = tracker_coalesce_strip (..., <tab> ...); here. @@ +2418,3 @@ md.id3v22.encoded_by); + and this extra space might go :)
Created attachment 324716 [details] [review] Prefer TPE2 tag for AlbumArtist Thanks for your review! Fixed the indentation issues. Should be good to commit now :)
Thanks very much for the patch! And sorry it took long... it's now in git.