local cddb proxy-cache ???

Started by michaa7, 2012/11/07, 18:00:54

Previous topic - Next topic

michaa7

Does someone know of  local solution to cache cddb? All programs (at least most of them) need internet access to retrieve an album title list. Allthough I once downloaded the cddb database I feel it's of no or little use. A local solution configured to catch all queries which whatever programm tries to send to freedb.org would be handy.

Does such a solution exist?
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

der_bud

Most of these programs can be switched to freedb instead of cddb, and the freedb-database for download is here: http://www.freedb.org/en/download__database.10.html
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

michaa7

thanks, but, although not being really clear I was thinking ans speaking about freedb, the problem remains the same.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

der_bud

Hi michaa7, so I totally misunderstood your intention. Thought you wanted to know where to get current database and then configure all your apps to use that offline version.

Instead, you don't want to change the configuration of all your apps, which mostly default to use online cddb, but you want to change that API-call systemwide to use offline freedb instead, right?

The only hint I have is again from the freedb-webpage. They explain there (for windows, though) how to reconfigure the hosts-file to automatically use freedb instead of cddb for programs that are not configurable. I have no clue how, but perhaps you could manage a kind of redirection in some host/network/proxy/foo-config file to automatically use a local path instead when any application calls the online-databases IP.
Source: http://www.freedb.org/en/applications__configuration.8.html
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

michaa7

Quote from: "der_bud"...

Instead, you don't want to change the configuration of all your apps, which mostly default to use online cddb, but you want to change that API-call systemwide to use offline freedb instead, right?

...

Still "no"

From my observation I conclude most cddb aware programs don't use ~.cddb (which, if used, is a cache , but obviously not a proxy).

So forcing all cddb aware progamms not to connect to a server, be it freedb or cddb, but to the local proxyserver which itself would first search in my local database and only if not finding the item would connect to whichever externel server (and, let me dream, why not to both ;-) , ok, kinda kidding )

There is a freedb server software (*.tar) but nor is a .deb available neither is it in the Debian repos. And from what I am reading about it it is not at all clear what it does, does it autoupdate itself?

All in all this is not really a problem, I can live with it. I only stummbled across it (CL cd player "cdcd", forum Ideas and Improvement) and was wondering whether there is a Debian solution. It seems it is not.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake