[mpris] [RFC] MprisVersion method

Mirsal Ennaime mirsal.ennaime at gmail.com
Fri Mar 21 07:42:29 CET 2008


Hi,

There is a huge mistake in the 1.0 specification:
The MprisVersion method returns an argument of type "f" which does NOT
exist in D-Bus.

As I can safely assume that nobody has fully implemented the 1.0 version
yet, I propose to change it from:

<method name="MprisVersion">
    <arg type="f" direction="out"/>
</method>

to:

<method name="MprisVersion">
    <arg type="(ddd)" direction="out"/>
</method> 

Which is a struct of three DBUS_UINT16:
 * The first one is the major version number
 * The second one is the minor version number
 * The third one is the revision number

I also propose to change the first versionned specification from 1.0 to 0.1.0
We should later agree on a strict policy for API changes.

Please comment, Thanks.
-- 
Mirsal Ennaime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.videolan.org/pipermail/mpris/attachments/20080321/c208f2df/attachment.pgp 


More information about the mpris mailing list