diff -r 000000000000 -r 4a8d56080089 gmyth-dbus/tests/channel-list.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmyth-dbus/tests/channel-list.py Mon Feb 25 17:51:43 2008 +0000 @@ -0,0 +1,12 @@ +import dbus +bus = dbus.SessionBus() + +proxy = bus.get_object ('br.org.indt.GMyth', '/br/org/indt/GMyth') +iface = dbus.Interface (proxy, dbus_interface='br.org.indt.GMyth') +iface.Connect ('192.168.2.222', 6543, 'mythtv', 'mythtv') +print iface.Connected () +print iface.GetChannelList () +print "--------------------------------------------------------" +print iface.GetRecordedList () +#print iface.FileExists ("teste.nuv") +#print iface.GetProgramList (1003, ')