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



Rockbox mail archive

Subject: Re: ID3 database browsing

Re: ID3 database browsing

From: Björn Stenberg <bjorn_at_haxx.se>
Date: Mon, 18 Oct 2004 10:56:18 +0200

Jacob wrote:
> > I don't think this is necessary.
> > The process would take forever on an archos.
>
> I don't agree to this hypothesis. Instead I would like to recall the
> dbase argument: Back in the good old days (TM) it was possible to index
> this amount of data (say 12000 records) on slower CPUs with much less
> RAM and much slower mass storage in reasonable time.

No they couldn't. We are talking about 12000 *files* here, each several megabytes in size. Not 12000 records in a database. How many 80-gig disks did you have in your IBM XT? ;-)

To get a slight feel for the performance, try the "create playlist" function. The only thing it does is traverse the directory tree, yet even that takes significant time (and not because the code is slow). Then imagine opening each and every file in those directories, seeking to the end of them, reading the id3 tag and parsing it. It will take massive amounts of time.

Offline database creation will be faster, easier to write and more user friendly. If anyone wants to write code to do it on the player that's fine with me, but I won't do it.

-- 
Björn
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-10-18

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