1.1 --- a/gmyth/src/gmyth_livetv.c Mon Nov 27 21:20:57 2006 +0000
1.2 +++ b/gmyth/src/gmyth_livetv.c Tue Dec 05 21:56:57 2006 +0000
1.3 @@ -28,6 +28,7 @@
1.4 #include "gmyth_remote_util.h"
1.5 #include "gmyth_tvchain.h"
1.6 #include "gmyth_socket.h"
1.7 +#include "gmyth_debug.h"
1.8
1.9 #include "gmyth_livetv.h"
1.10 #include "gmyth_file_transfer.h"
1.11 @@ -82,7 +83,7 @@
1.12
1.13 GMythLiveTV *livetv = GMYTH_LIVETV (object);
1.14
1.15 - g_debug ("[%s] Finalizing livetv", __FUNCTION__);
1.16 + gmyth_debug ("[%s] Finalizing livetv", __FUNCTION__);
1.17
1.18 if ( livetv->recorder != NULL ) {
1.19 g_object_unref (livetv->recorder);
1.20 @@ -205,7 +206,7 @@
1.21 res = FALSE;
1.22 goto error;
1.23 } else {
1.24 - g_debug ("[%s] GMythLiveTV: All requests to backend to start TV were OK.\n", __FUNCTION__ );
1.25 + gmyth_debug ("[%s] GMythLiveTV: All requests to backend to start TV were OK.\n", __FUNCTION__ );
1.26 }
1.27
1.28 return res;
1.29 @@ -261,7 +262,7 @@
1.30 res = FALSE;
1.31 goto error;
1.32 } else {
1.33 - g_debug ("[%s] GMythLiveTV: All requests to backend to start TV were OK, TV chain changed.\n", __FUNCTION__ );
1.34 + gmyth_debug ("[%s] GMythLiveTV: All requests to backend to start TV were OK, TV chain changed.\n", __FUNCTION__ );
1.35 }
1.36
1.37 return res;
1.38 @@ -301,7 +302,7 @@
1.39 void
1.40 gmyth_livetv_stop_playing (GMythLiveTV *livetv)
1.41 {
1.42 - g_debug ("[%s] Stopping the LiveTV...\n", __FUNCTION__);
1.43 + gmyth_debug ("[%s] Stopping the LiveTV...\n", __FUNCTION__);
1.44
1.45 if (livetv->is_livetv) {
1.46 if (!gmyth_recorder_stop_livetv (livetv->recorder)) {
1.47 @@ -319,7 +320,7 @@
1.48 GMythStringList *str_list = gmyth_string_list_new ();
1.49 GString *message = g_string_new ("");
1.50
1.51 - g_debug ( "[%s]\n", __FUNCTION__ );
1.52 + gmyth_debug ( "[%s]\n", __FUNCTION__ );
1.53 //g_static_mutex_lock (&mutex);
1.54 //
1.55 g_string_printf( message, "%s %d", GMYTHTV_RECORDER_HEADER,