[mythtv] mythmusic ID3 tag changes not updating database

Eskil Heyn Olsen myth at eskil.org
Thu Sep 15 01:14:47 UTC 2005


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
---



More information about the mythtv-dev mailing list