gmyth-dbus/tests/channel-list.py
branchtrunk
changeset 901 d6ec9a68363e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmyth-dbus/tests/channel-list.py	Thu Jan 31 13:19:29 2008 +0000
     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, ')