1.1 --- a/maemo-ui/src/mmyth_ui.c Thu Sep 28 16:02:14 2006 +0100
1.2 +++ b/maemo-ui/src/mmyth_ui.c Wed Dec 06 20:25:59 2006 +0000
1.3 @@ -19,7 +19,6 @@
1.4 #include "mmyth_tvplayer.h"
1.5
1.6 /* GMyth library includes */
1.7 -#include "gmyth_context.h"
1.8
1.9 #ifndef MAEMO_PLATFORM
1.10 static gint button_press_handler (GtkWidget *widget, GdkEvent *event);
1.11 @@ -57,6 +56,8 @@
1.12
1.13 mmyth_ui = g_new0 (MMythUi, 1);
1.14
1.15 + mmyth_ui->backend_info = gmyth_backend_info_new_full( "192.168.1.109", "mythtv", "mythtv", "mythconverg", 6543 );
1.16 +
1.17 mmyth_ui->main_window = main_window;
1.18 mmyth_ui->videow = NULL;
1.19 mmyth_ui->mmyth_recordui = NULL;
1.20 @@ -215,7 +216,7 @@
1.21 if (mmyth_uisettings_run (GTK_WINDOW (mmyth_ui->main_window))) {
1.22 // If user changes the settings, we restart the context
1.23 g_debug ("[%s] Restarting mmyth_context to new settings", __FUNCTION__);
1.24 - gmyth_context_initialize();
1.25 + //gmyth_context_initialize();
1.26 }
1.27 }
1.28
1.29 @@ -313,7 +314,7 @@
1.30 /* choose here if this is a LiveTV session */
1.31 mmyth_ui->tvplayer->is_livetv = TRUE;
1.32
1.33 - res = mmyth_tvplayer_initialize (mmyth_ui->tvplayer);
1.34 + res = mmyth_tvplayer_initialize (mmyth_ui->tvplayer, mmyth_ui->backend_info);
1.35
1.36 if (!res) {
1.37 g_warning ("[%s] Could not initialize tvplayer", __FUNCTION__);
1.38 @@ -596,7 +597,7 @@
1.39 // Creates the tv player that will retrieve the mythtv content, decode and show it
1.40 mmyth_ui->tvplayer = mmyth_tvplayer_new ();
1.41 g_debug ("[%s] New TV Player created: %d\n", __FUNCTION__, (int) (mmyth_ui->tvplayer));
1.42 - res = mmyth_tvplayer_initialize (mmyth_ui->tvplayer);
1.43 + res = mmyth_tvplayer_initialize (mmyth_ui->tvplayer, mmyth_ui->backend_info);
1.44 if (!res) {
1.45 g_warning ("[%s] Could not initialize tvplayer", __FUNCTION__);
1.46