On Sun, Jan 18, 2004 at 05:54:43PM +0100, Dirk Meyer wrote:
> I did a little more on the whole caching stuff and moved all metadata
> info from the extra helper in it. If you still have the folder.fxd
> files generated by the helper, remove them and start 'freevo cache' to
> do a full cache on your system.

Worked nice and quick... only thing was that the cover images are
written to the individual directories instead of the cache. Since
they're embedded in the mp3s, it's better to think of them as meta
information then writing them to the music path.

> Speaking of caching: I was very surprised how fast sqlite stored all
> the mpr3 information into the database. I prepared util/mediainfo.py
> to support sqlite instead of the cachfiles. Aubin: if you have some
> time, maybe you can look at it. The basic goal is to get all info
> about one dir at once to avoid asking the db for every item.

Well, it's a combination of things:
    1. We make sure we don't do double inserts
    2. We pull metadata from mmpython
    3. We don't do a commit until the entire tree is inserted, which
    means that if your computer crashed while it was inserting, you'd
    lose some data, of course, this isn't banking or something, so who
    cares :) 

I'll see what I can figure out... we store almost all the same
information in the db that mmpython stores in files, and the reason
was that we could eventually just use the sqlite DB instead.

Aubin


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to