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: ID3 database browsing
From: Björn Stenberg (bjorn_at_haxx.se)
Date: 2004-10-18


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



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