Last change to music database?

Posted by: jules

Last change to music database? - 03/03/2004 20:29

Folks,

I'm working on a remote control application that needs to rebuild its database whenever new tunes or playlists have been added to the empeg or have been modified. How can I find out the time when this happened? Right now, I'm scanning the timestamp of all the fids in the drives and using the latest one found, but I wonder if there is a more direct way of finding this out. Any ideas?

Thanks!
Posted by: tman

Re: Last change to music database? - 03/03/2004 20:53

Look at /empeg/var/database or /empeg/var/database3. It would be updated everytime something gets uploaded or changed.
Posted by: jules

Re: Last change to music database? - 03/03/2004 22:56

Thanks! That's definitely easier than looking over all the fids.

Are the structure of the tags, database, and playlists files in /empeg/var documented somewhere?
Posted by: tonyc

Re: Last change to music database? - 03/03/2004 23:05

Are the structure of the tags, database, and playlists files in /empeg/var documented somewhere?
Not that I know of, but jEmplode's source contains code for building them.
Posted by: mlord

Re: Last change to music database? - 04/03/2004 08:41

>Are the structure of the tags, database, and playlists files
>in /empeg/var documented somewhere?

Yes, there was a BBS posting somewhere that described their rather simple formats.

-ml