<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi dbus guys, currently I am using dbus-python on a
mpris(<a class="moz-txt-link-freetext" href="http://www.mpris.org/2.0/spec/">http://www.mpris.org/2.0/spec/</a>) implementation.<br>
<br>
To expose properties, I using following code:<br>
@dbus.service.method(dbus.PROPERTIES_IFACE, in_signature='ss',
out_signature='v')<br>
def Get(self, interface, prop):<br>
...<br>
<br>
I found for a dict output, if there is an entry whose value is a
list, then all values in the dict will be treated as list in
result msg. <br>
And if there is int type, error will be raised. However, the mpris
spec defined the dict should be multiple types for its entry
value.<br>
<br>
Is this a bug of dbus-python ? Any ideas to solve this?<br>
<br>
<br>
</tt>
<div class="moz-signature">-- <br>
Sun Ning. <br>
More <a href="http://about.me/sunng/bio">about me</a>.
</div>
</body>
</html>