[svn r367] Itsn't mandatory to have database information in the GMyth URI.
1 #include <glib-object.h>
6 main (int args, const char **argv)
8 GMythBackendInfo *backend_info;
10 //g_thread_init(NULL);
12 backend_info = gmyth_backend_info_new ();
14 gmyth_backend_info_set_hostname (backend_info, "localhost");
15 gmyth_backend_info_set_port (backend_info, 6543);
17 GTimeVal* start = gmyth_util_string_to_time_val("2006-01-01T00:00");
18 GTimeVal* end = gmyth_util_string_to_time_val("2007-01-01T00:00");
20 epg = retrieve_epg(backend_info, 6544, start, end, 0, 2, "True");