renatofilho@865: import dbus renatofilho@865: bus = dbus.SessionBus() renatofilho@865: renatofilho@865: proxy = bus.get_object ('br.org.indt.GMyth', '/br/org/indt/GMyth') renatofilho@865: iface = dbus.Interface (proxy, dbus_interface='br.org.indt.GMyth') renatofilho@865: iface.Connect ('192.168.2.222', 6543, 'mythtv', 'mythtv') renatofilho@865: print iface.Connected () renatofilho@865: print iface.GetChannelList () renatofilho@865: print "--------------------------------------------------------" renatofilho@865: print iface.GetRecordedList () renatofilho@865: #print iface.FileExists ("teste.nuv") renatofilho@865: #print iface.GetProgramList (1003, ')