Bug 2311 - Incorrect Artist sorting
: Incorrect Artist sorting
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Tagging
: 6.2.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-18 01:51 UTC by Philip Meyer
Modified: 2008-09-15 14:36 UTC (History)
0 users

See Also:
Category: ---


Attachments
Screenshot of Browse Artists (90.49 KB, image/jpeg)
2005-10-19 00:41 UTC, Philip Meyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2005-10-18 01:51:39 UTC
I have a load of artists that have been incorrectly sorted.  I have a sorted 
list of artists where the files do not use an ARTISTSORT tag, followed by 
another list of artists with the ARTISTSORT tag.

e.g. I have an artist "Zero 7", which is then followed by Tori Amos 
(ARTISTSORT="Amos, Tori").
Comment 1 Blackketter Dean 2005-10-18 18:48:28 UTC
Can you post a couple of files that use artists that sort incorrectly?  Also, post details on where you are 
seeing this (web ui, player) and how you navigated to that place.
thanks.
Comment 2 Philip Meyer 2005-10-19 00:41:22 UTC
Created attachment 921 [details]
Screenshot of Browse Artists

In this screenshot, you can see the end of my A-Z sorted artists, followed by
my artists where I have started to enter ARTISTSORT tags.
Comment 3 Philip Meyer 2005-10-19 00:51:56 UTC
I see the same problem with Browse Artists both in the Web UI and Player UI.

Here are the Metadata tags that I have in one of the songs listed under one of 
those incorrectly sorted artists - Beth Hirsch (4 songs, no album):

ARTIST = Beth Hirsch
ARTISTSORT = Hirsch, Beth
TITLE = Come A Day

The other three songs have the same tags, except for the title.  These tracks 
are the simplest example files I could find.  I will email one of the .mp3 
files to mailto:dean@slimdevices.com.
Comment 4 Dan Sully 2005-10-19 08:35:31 UTC
Phil - can you attach your slimserversql.db file?

Thanks.
Comment 5 Dan Sully 2005-10-19 08:50:53 UTC
Phil - looks like you have a UTF8 BOM inserted at the beginning of the ARTISTSORT tags.

'ARTISTSORT' => "\x{feff}Hirsch, Beth",

I can put in a fix for that - but you may want to just fix your files.
Comment 6 Dan Sully 2005-10-19 09:18:25 UTC
Fixed in subversion change 4691
Comment 7 Philip Meyer 2005-10-19 11:34:00 UTC
I am using Mp3Tag to edit tags.  I can't see any option to change encoding 
formats.

I can't see the BOM character, or any way to remove it.  Is it incorrect to 
use a UTF-8 BOM in a tag?  If so, I can try to contact the author.

If it's there for that tag, I guess it could be present for any tag.  Does 
your fix ignore it for any tag?
Comment 8 Dan Sully 2005-10-19 11:39:34 UTC
It isn't incorrect - but UTF-8 rarely uses a BOM.

What is interesting is that it's only being added to the ARTISTSORT / TPOS tag.
Comment 9 Philip Meyer 2005-10-19 11:54:54 UTC
I have had a look at the history for Mp3Tag.  There's been changes in v.2.33 - 
full Unicode support.  It seems it has been specifically changed to include 
UTF-8 BOM now.

http://www.mp3tag.de/download/mp3tagversion.en.html

A lot of people use this editor in Windows, as it is free.
Comment 10 Dan Sully 2005-10-19 12:01:08 UTC
Ok - well, my change should fix things.

Please let me know if you see anything else wierd.
Comment 11 Philip Meyer 2005-10-19 12:15:54 UTC
Updated to latest SVN and did a full rescan.

Working well now, thanks.