diff options
author | Martin Szulecki | 2011-03-25 15:00:09 +0100 |
---|---|---|
committer | Martin Szulecki | 2011-03-25 15:00:09 +0100 |
commit | 2016e1d2bbc671362452eacc19319a7d41857930 (patch) | |
tree | eb5027e988753cf8cf9d9e339879e6d50cbe45a1 | |
parent | 9d99dda4ebc193de99baead7063acd2f293c2f9c (diff) | |
download | totem-plugin-airplay-2016e1d2bbc671362452eacc19319a7d41857930.tar.gz totem-plugin-airplay-2016e1d2bbc671362452eacc19319a7d41857930.tar.bz2 |
Fix DBUS method call error
-rw-r--r-- | ZeroconfService.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZeroconfService.py b/ZeroconfService.py index 0b7d54d..0c8a3cf 100644 --- a/ZeroconfService.py +++ b/ZeroconfService.py @@ -39,7 +39,7 @@ class ZeroconfService(object): server = dbus.Interface(bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER) g = dbus.Interface(bus.get_object(avahi.DBUS_NAME, server.EntryGroupNew()), avahi.DBUS_INTERFACE_ENTRY_GROUP) - g.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0), self.name, self.stype, self.domain, self.host, dbus.UInt16(self.port), self.text) + g.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0), self.name, self.stype, self.domain, self.host, dbus.UInt16(self.port), avahi.string_array_to_txt_array(self.text)) g.Commit() self.group = g |