Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: RB Directory listing order
From: [IDC]Dragon (idc-dragon_at_gmx.de)
Date: 2004-08-02


> > 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?

Jörg

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl

_______________________________________________ http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa