Bugzilla – Bug 2279
Tracks with multiple artist tags show repeated artists
Last modified: 2008-09-15 14:36:01 UTC
I have a number of albums where I've tagged the tracks (flac files only) with two ARTIST tags. As an example, the album "Back to Back" with Duke Ellington and Johnny Hodges. On the album track listing page these tracks are displayed like: 1. Wabash Blues from Back to Back by Duke Ellington, Johnny Hodges, Duke Ellington Drilling down a level, to the detailed track info page, it's displayed as Artist: Duke Ellington, Duke Ellington, Johnny Hodges
Can you upload that file (or the first 100k or so) as an attachment? Would like to know what the tags look like specifically.
I believe I've got this fixed in subversion change 4606.
Ok, I've tagged and retagged and tagged the album again and I've figured out what causes this. If there are two or more ARTIST tags in a file, plus an ARTISTSORT tag, then the artist referred to by the ARISTSORT is repeated. Removing the ARTISTSORT clears the problem, but then, of course, you have no control over the sort order for either of them.
Jim - I don't quite follow. Can you send the output of metaflac --export-tags-to=filename ?
Problem: title=Wabash Blues artist=Duke Ellington artist=Johnny Hodges TRACKNUMBER=1 album=Back to Back artistsort=Ellington, Duke albumsort=Ellington, Duke|1963|Back to Back genre=Jazz DATE=1963 No problem: title=Wabash Blues artist=Duke Ellington artist=Johnny Hodges TRACKNUMBER=1 album=Back to Back albumsort=Ellington, Duke|1963|Back to Back genre=Jazz DATE=1963 I'll admit that since there's only one ARTISTSORT for two ARTIST tags, then the behavior might be unexpected. But I don't end up with an extra artist under 'Browse Artists', just the extra name on the detail pages. Without the ARTISTSORT tag on the tracks in this album, the artist 'Duke Ellington' gets sorted under 'Duke Ellington', even though there are other albums where his
forgot to finish that sentence... This is really a separate issue, though, having to do more with having tracks in your library for a given artist with ARTIST + ARTISTSORT, and also having tracks with only an ARTIST tag defined. Without the ARTISTSORT tag on the tracks in this album, the artist 'Duke Ellington' gets sorted under 'Duke Ellington', even though there are other albums where his ARTISTSORT is set to 'Ellington, Duke'. I'm guessing that the behavior is affected by the order in which SlimServer scans the libary. If you have a track with an explicit ARISTSORT set to (for instance) '[Lastname] [Firstname]' and SlimServer later scans a track with no ARISTSORT, then it appears to overwrite the previous namesort field in the contributors table. A better approach, IMO, would be: When you have a contributor that already exists in the library, then if namesort <> name, then namesort should NOT be updated. This will likely keep you from overwriting a previous explicitly defined ARTISTSORT tag.
Jim - fixed in subversion change 4622