[mpris] [ANN] MPRIS v2.0

Ian Monroe ian at monroe.nu
Thu Aug 12 16:30:10 CEST 2010


On Thu, Aug 12, 2010 at 9:20 AM, Alex Merry <kde at randomguy3.me.uk> wrote:
>  On 12/08/10 14:20, Mirsal Ennaime wrote:
>>
>> On Thu, Aug 12, 2010 at 2:07 PM, Marc-André Lureau
>> <marcandre.lureau at gmail.com>  wrote:
>>>
>>> - (comment) the "CanDoThat" or "HasThis" pattern could probably use
>>> introspection instead, if DBus common usage permits having
>>> "incomplete" interfaces.
>>
>> This would reduce drastically the number of properties, but it would
>> also make it more difficult to implement
>> the spec, as generating / parsing dynamic XML is much more complicated
>> and error-prone than using boolean flags.
>
> Not only that, but it wouldn't work for most of the Can* properties, as they
> change regularly.

It would all be simpler with a bit field.

> <mezcalero> hmm, how does it make anything more complex? just take the id and prefix /foobar/ to it and it is an object path

I agree, I guess if all it takes is throwing some slashes in front
its okay, if a bit awkward.

Ian


More information about the mpris mailing list