myth-dbus/tests/channel-list.py
branchtrunk
changeset 865 3eeb6b565018
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/myth-dbus/tests/channel-list.py	Wed Oct 24 20:01:02 2007 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +import dbus
     1.5 +bus = dbus.SessionBus()
     1.6 +
     1.7 +proxy = bus.get_object ('br.org.indt.GMyth', '/br/org/indt/GMyth')
     1.8 +iface = dbus.Interface (proxy, dbus_interface='br.org.indt.GMyth')
     1.9 +iface.Connect ('192.168.2.222', 6543, 'mythtv', 'mythtv')
    1.10 +print iface.Connected ()
    1.11 +print iface.GetChannelList ()
    1.12 +print "--------------------------------------------------------"
    1.13 +print iface.GetRecordedList ()
    1.14 +#print iface.FileExists ("teste.nuv")
    1.15 +#print iface.GetProgramList (1003, ')