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

Rockbox mail archive

Subject: Re: search a string

Re: search a string

From: François-Xavier Houard <>
Date: Fri, 6 Sep 2002 18:07:54 +0200

On Fri, Sep 06, 2002 at 10:51:37AM +0200, Linus G Larsson wrote:
> On Thu, 2002-09-05 at 17:39, John Wood wrote:
> > I think an easier solution would be to simply search the current playlist by
> > song name. That way you don't need a separate database (that will obviously
> > become out of date, or the generation tool won't be available when you need
> > it). The most useful parts of songs are usually in the filename and
> > directory name.
> If I understand correctly, that was what François was trying at first.
> But it was too slow.

Well, i was trying to search directly on the hard disk.

> I had a suggestion a couple of months ago on an alternate "browser"
> interface, more like the one on iPods. It would show you separate
> entries for Albums, Playlists, Artists, Songs, Genres etc, which it
> would get from an indexed database.
> This way, users could choose to either just copy the files onto the
> Jukebox, store them in directories of their choice, like it is right
> now, or use a utility to copy them to the Jukebox and index the songs in
> the database. All playlists would be reachable from both the
> Playlists-menu and the Albums-menu, for instance.
> François, I think it is a great idea with many possibilities, and I
> suggest that you index filename, path and all id3-tags in the db. If
> noone else will write such an interface, I will (eventually).

the problem is that it is not (as far as I know) possible to scan a file
line per line without scanning each char. Putting all the information may
make a bigger file, which may make everithing slower. except if we make
multiples indexed files.

> Regards,

Thanks ;)

> Linus
Received on 2002-09-06

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