gmyth-dbus/tests/channel-list.py
author melunko
Thu Oct 25 18:40:14 2007 +0100 (2007-10-25)
branchtrunk
changeset 871 49947675bace
permissions -rw-r--r--
[svn r877] gmyth-dbus configure.ac: package renamed from myth-dbus to gmyth-dbus
     1 import dbus
     2 bus = dbus.SessionBus()
     3 
     4 proxy = bus.get_object ('br.org.indt.GMyth', '/br/org/indt/GMyth')
     5 iface = dbus.Interface (proxy, dbus_interface='br.org.indt.GMyth')
     6 iface.Connect ('192.168.2.222', 6543, 'mythtv', 'mythtv')
     7 print iface.Connected ()
     8 print iface.GetChannelList ()
     9 print "--------------------------------------------------------"
    10 print iface.GetRecordedList ()
    11 #print iface.FileExists ("teste.nuv")
    12 #print iface.GetProgramList (1003, ')