Bug 2279 - Tracks with multiple artist tags show repeated artists
: Tracks with multiple artist tags show repeated artists
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Slimtray
: 6.2.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-11 03:20 UTC by Jim McAtee
Modified: 2008-09-15 14:36 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2005-10-11 03:20:02 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
Comment 1 Blackketter Dean 2005-10-13 12:40:41 UTC
Can you upload that file (or the first 100k or so) as an attachment? Would like to know what the tags 
look like specifically.
Comment 2 Dan Sully 2005-10-13 16:53:18 UTC
I believe I've got this fixed in subversion change 4606.
Comment 3 Jim McAtee 2005-10-14 15:05:59 UTC
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.
Comment 4 Dan Sully 2005-10-14 15:36:35 UTC
Jim - I don't quite follow. Can you send the output of metaflac --export-tags-to=filename ?
Comment 5 Jim McAtee 2005-10-14 15:57:34 UTC
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
Comment 6 Jim McAtee 2005-10-14 16:24:38 UTC
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.

Comment 7 Dan Sully 2005-10-14 16:25:50 UTC
Jim - fixed in subversion change 4622