[Easytag-mailing] using cddb server from prefs with direct connection
- From: bjustus schwartz <justus gmx li>
- To: easytag-mailing lists sourceforge net
- Cc: Jérôme COUDERC <j couderc ifrance com>
- Subject: [Easytag-mailing] using cddb server from prefs with direct connection
- Date: Sun Jan 2 10:05:07 2005
hi,
i think the following patch is neccessary to use the cddb server from the prefs
if we're not using a proxy server.
ciao
-justus
diff -pur easytag-1.99.2/src/cddb.c /home/justus/sources/easytag-1.99.2/src/cddb.c
--- easytag-1.99.2/src/cddb.c 2004-11-27 20:25:55 +0100
+++ /home/justus/sources/easytag-1.99.2/src/cddb.c 2005-01-02 18:34:49 +0100
@@ -2038,7 +2038,7 @@ gboolean Cddb_Search_Album_From_Selected
GList *file_iterlist = NULL;
// Connection to the server
- if ( ( socket_id=Cddb_Open_Connection(CDDB_USE_PROXY?CDDB_PROXY_NAME:"www.freedb.org",
+ if ( ( socket_id=Cddb_Open_Connection(CDDB_USE_PROXY?CDDB_PROXY_NAME:CDDB_SERVER_NAME,
CDDB_USE_PROXY?CDDB_PROXY_PORT:80)) <= 0 )
{
return FALSE;
--
int m,o,O=0;float l,I,_;main(){for(;1840-O;putchar((++O>914&&932>O?61-m:o)
["X-#!*X\",&*!''nk)\x7Fj`Gtrstrm''G$#Y!&-"]^7))for(o=I=l=0;79-(m=O%80)&&_*l+I*
I<6&&26-++o;I=2*l*I+O/80*.09-1,l=_)_=l*l-I*I-2+m/27.;}
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]