dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: RB Directory listing order

Re: RB Directory listing order

From: [IDC]Dragon <>
Date: Mon, 2 Aug 2004 11:44:51 +0200 (MEST)

> > If you let windows sort by name, I'm pretty sure it will do the same as
> > rockbox. Maybe the order was correct because you sorted by date/time?
> > Rockbox can do that as well.
> This listing is a special one, that is only used in music folders, and
> I thought it was a good idea.

How does it know it is a music folder? How should Rockbox know? Would it be
OK to treat other files in the same way? It may be some hassle to formulate
this in a consistent way.
We definitely can't do something like 2-pass sorting. The quicksort
algorithm needs a check function, which, given 2 filenames, decides on which
of the 2 should go first. This function doesn't know about other files, it
only sees those 2 entries.

> > > and it would be great if Rockbox could take a little time
> > > re-ordering the files that way ;). I know I could rename the files
> > > "01. Intro.mp3", "02. Still Ballin.mp3", ... but it's not really the
> > > way I want them (inesthetic hack :).
> >
> > I think pretty much everybody (outside the rockbox-world as well) uses a
> > 2-digit track number, because of the sorting issue. There are tools
> which
> > can do the renaming for you, check out e.g. the godfather.
> Maybe this sorting option could come as an option ... would it be that
> difficult to implement ?

Probably not difficult, but yet onother option, of which we have (too) many.
We try to keep things simple and stupid. Not terribly much space in our
little box. Is two-digit numbering sooo bad?


NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos
Received on 2004-08-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy