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

Rockbox mail archive

Subject: Re: Rockbox Database

Re: Rockbox Database

From: Björn Stenberg <>
Date: Thu, 21 Oct 2004 16:22:10 +0200

BlueChip wrote:
> "imagine we want to browse year->artist. Such as 1982->ABBA. We thus want a
> list of albums that contain songs written by ABBA and released in 1982. How
> do we solve this without searching, and without creating artist-specific
> data tables?"
> I would propose you build a key/index for each type of search you would
> want to perform. Then it is you who gets the choice of what fields to
> catalogue and search-by.

You mean an abba1982 album index? And an abba1983, abba1984, abba1985...?

While it's certainly possible, and sort of fits in the 'waste disk if you can save cpu' design philosophy, it is rather more brute force than I'd like. The reason I'm posting the question in the wiki is I would like to construct a way to do this without searching too much and without creating a zillion indices.

Received on 2004-10-21

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