[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDEREVIEW: nowplaying dataengine and applet for plasma
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-01-27 9:46:58
Message-ID: 200801271047.07994.thiago () kde ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic