Rockbox mail archiveSubject: Re: proper directory sorting
Re: proper directory sorting
From: Bluechip <csbluechip_at_gmail.com>
Date: Mon, 27 Feb 2006 17:36:14 +0000
There is currently a discussion on the
possibility of using the ID3v2 Tag Sort Order to
define the order tracks are sorted - if it is
approved I think it would serve as a _simpler_
solution to the same end. Of course the
down-side is that it becomes the users'
responsibility to go back and re-tag all his
files, rather than things being done automatically by Rockbox.
>Are there any plans to implement proper
>directory sorting in rockbox? for some reason, I
>expect "Sébastien Schuller" to be placed before
>"Syd Barrett", not after as it is now.
>Of course, full unicode sorting (i.e.
>implementing full strcoll()) is almost
>impossible, but in the 0000-00FF range, a simple
>lookup table will do the job easily. This means
>that instead of returning *s1-*s2 (in
>./firmware/common/strcmp.c), we just have to
>strncmp would also have to be reworked to use
>that lookup table only for latin1 characters
>(i.e. at odd places, iff the character before was \000).
Received on 2006-02-27