KDEREVIEW: nowplaying dataengine and applet for plasma

Thiago Macieira thiago at kde.org
Sun Jan 27 09:46:58 GMT 2008


Alex Merry wrote:
>Yes, as specified in the MPRIS specification.  The point is that an
> application can (as this one does) just look for anything like
> org.mpris.*, rather than going through every single D-Bus object of
> every single service looking for an org.freedesktop.mediaplayer
> interface.

Why don't you simply ask "Hey, is there anyone implementing MPRIS here" 
via a signal, as would be expected in a D-Bus application?

Polling and inspecting is not a good idea. Really, it's a bad idea.

One more thing: the org.mpris.SomePlayerName should be registered in 
addition to the main name of the application.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080127/76b9d5f0/attachment.sig>


More information about the kde-core-devel mailing list