On Wed, 2005-09-14 at 19:31 -0400, Isaac Richards wrote:

> > > code at (*) that'll read the meta data and update the DB entry. It could
> > > just easily slow down the scan a lot.
> >
> > Store an MD5 of the file and only read the metadata if the hash changes?
> 
> mod time, not md5.  Calculating the md5 will take as long as reading the 
> metadata would.

Oh yeah, just looked, the db has date_added and date_modified, so
comparing to the mtime should be good enough. I'll give it a stab when I
have some spare cycles.

eskil
---

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to