On 02/27/20 23:19 pm, Andreas Ronnquist wrote:
>
> According to a notice on https://freedb.org, that service is closing
> down. I assume that libcddb is using that server, and only that -
> please inform me if I am mistaken.
>

The patch below changes the default server to gnudb.org. I've tested
locally with the cddb_query tool and it works fine:

diff --git a/include/cddb/cddb_ni.h b/include/cddb/cddb_ni.h
index d32fdc1..4156bdb 100644
--- a/include/cddb/cddb_ni.h
+++ b/include/cddb/cddb_ni.h
@@ -78,8 +78,8 @@
 
 #define DEFAULT_USER        "anonymous"
 #define DEFAULT_HOST        "localhost"
-#define DEFAULT_SERVER      "freedb.org"
-#define DEFAULT_PORT        888
+#define DEFAULT_SERVER      "gnudb.gnudb.org"
+#define DEFAULT_PORT        8880
 #define DEFAULT_TIMEOUT     10
 #define DEFAULT_PATH_QUERY  "/~cddb/cddb.cgi"
 #define DEFAULT_PATH_SUBMIT "/~cddb/submit.cgi"

--
Thanks,
Nick

Reply via email to