On Thursday 07 Nov 2002 2:52 pm, John Richard Smith wrote:
> Derek Jennings wrote:
> >On Thursday 07 Nov 2002 11:28 am, John Richard Smith wrote:
> >>Where does Grip store it's disc data base.
> >>I don't mean /home/.grip , which is a hidden config file.
> >>
> >>John
> >
> >~/.cddb
>
> Thanks,
> Question,   Is it possible that grip goes on the net passively,
> that is in the background , while you are on the net for some
> other reason, retrieves db and stores it, because until today,
> I don't consciously remember ever going on the net for db retrieval, yet
> cddb is full of data files.They got there somehow. John

Every time grip (or kscd or xmms) reads a CD it compares the CD id number with 
the local database. (Unfortunately despite the databases being the same, all 
three products use a different database location)

If the number is not in the database, and the computer is online, then they 
will (if configured) look up the CD number in the freedb online database, and 
automatically save it in the local database. They do not read the inter-track 
data to get the track info since they would need the cdrdao library (I think) 
to do that, and none of them use that library.


BTW: kscd keeps its CD data base in /usr/share/apps/kscd/cddb which is a 
pretty dumb location. Users do not have write permission to that directory, 
so to use it you have to change attributes, and then msec starts complaining 
about world writable files in that directory. Another issue is that when you 
upgrade your KDE or distro, your CD database gets erased. A better idea is to 
change the location using KDE control Centre. You can in fact use the same 
location as grip, since they both have exactly the same database format.


derek



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to