Re: [Easytag-mailing] using cddb server from prefs with direct connection



Hi,

Indeed you are right, so your patch was applied to my current sources (1.99.x and 1.0.x branchs)

Regards,
Jerome


bjustus schwartz wrote, the 02.01.2005 19:04 :
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;


------------------------------------------------------------------------



--
EasyTAG - Tag editor for MP3 and Ogg Vorbis files
http://easytag.sourceforge.net
--
Jerome COUDERC <j couderc ifrance com>






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]