gmyth/src/gmyth_recorder.c
branchtrunk
changeset 131 d1ae310096bd
parent 117 b90cf50ca3dc
child 179 47b1aba5dc0c
     1.1 --- a/gmyth/src/gmyth_recorder.c	Mon Nov 27 21:20:57 2006 +0000
     1.2 +++ b/gmyth/src/gmyth_recorder.c	Tue Nov 28 21:04:14 2006 +0000
     1.3 @@ -33,6 +33,7 @@
     1.4  
     1.5  #include "gmyth_stringlist.h"
     1.6  #include "gmyth_util.h"
     1.7 +#include "gmyth_debug.h"
     1.8  
     1.9  #define	 GMYTHTV_RECORDER_HEADER			"QUERY_RECORDER"
    1.10  
    1.11 @@ -76,7 +77,7 @@
    1.12  
    1.13      GMythRecorder *recorder = GMYTH_RECORDER(object);
    1.14  
    1.15 -	g_debug ("[%s] Closing control socket", __FUNCTION__);
    1.16 +	gmyth_debug ("[%s] Closing control socket", __FUNCTION__);
    1.17  	gmyth_socket_close_connection(recorder->myth_socket);
    1.18  	g_object_unref (recorder->myth_socket);
    1.19      
    1.20 @@ -109,7 +110,7 @@
    1.21  gmyth_recorder_setup (GMythRecorder *recorder)
    1.22  {
    1.23  	assert (recorder);
    1.24 -	g_debug ("[%s] Creating socket and connecting to backend", __FUNCTION__);
    1.25 +	gmyth_debug ("[%s] Creating socket and connecting to backend", __FUNCTION__);
    1.26  
    1.27  	if (recorder->myth_socket == NULL) {
    1.28  		
    1.29 @@ -141,7 +142,7 @@
    1.30  	GMythStringList *str_list;
    1.31  	GString *tmp_str = g_string_new( GMYTHTV_RECORDER_HEADER );
    1.32  	
    1.33 -	g_debug ("[%s] Spawntv with tvchain_id = %s", __FUNCTION__, tvchain_id->str);
    1.34 +	gmyth_debug ("[%s] Spawntv with tvchain_id = %s", __FUNCTION__, tvchain_id->str);
    1.35  	
    1.36  	str_list = gmyth_string_list_new ();
    1.37  	
    1.38 @@ -184,7 +185,7 @@
    1.39  	GMythStringList *str_list;
    1.40  	GString *tmp_str = g_string_new( GMYTHTV_RECORDER_HEADER );
    1.41  
    1.42 -	g_debug ("[%s]", __FUNCTION__);
    1.43 +	gmyth_debug ("[%s]", __FUNCTION__);
    1.44  
    1.45  	str_list = gmyth_string_list_new ();
    1.46  
    1.47 @@ -219,7 +220,7 @@
    1.48  	GMythStringList *str_list;
    1.49  	GString *tmp_str = g_string_new( GMYTHTV_RECORDER_HEADER );
    1.50  	
    1.51 -	g_debug ( "[%s] FRONTEND_READY with recorder id = %d", __FUNCTION__, recorder->recorder_num );
    1.52 +	gmyth_debug ( "[%s] FRONTEND_READY with recorder id = %d", __FUNCTION__, recorder->recorder_num );
    1.53  	
    1.54  	str_list = gmyth_string_list_new ();
    1.55  	
    1.56 @@ -262,7 +263,7 @@
    1.57  	GMythStringList *str_list;
    1.58  	GString *tmp_str = g_string_new( GMYTHTV_RECORDER_HEADER );
    1.59  	
    1.60 -	g_debug ("[%s] SET_CHANNEL with channel = %d", __FUNCTION__, channel);
    1.61 +	gmyth_debug ("[%s] SET_CHANNEL with channel = %d", __FUNCTION__, channel);
    1.62  	
    1.63  	str_list = gmyth_string_list_new ();
    1.64  	
    1.65 @@ -306,7 +307,7 @@
    1.66  	GMythStringList *str_list;
    1.67  	GString *tmp_str = g_string_new( GMYTHTV_RECORDER_HEADER );
    1.68  	
    1.69 -	g_debug ("[%s] SET_CHANNEL with channel = %d", __FUNCTION__, channel);
    1.70 +	gmyth_debug ("[%s] SET_CHANNEL with channel = %d", __FUNCTION__, channel);
    1.71  	
    1.72  	str_list = gmyth_string_list_new ();
    1.73