[mpris] MPRIS misdesigns

Lennart Poettering lennart at poettering.net
Wed Feb 11 22:41:29 CET 2009


On Wed, 11.02.09 22:56, Marc-André Lureau (marcandre.lureau at gmail.com) wrote:

> > - There is no way for PA to map a specific application stream to a
> > media player instance on the bus. It would be good if at least the
> > process name/PID of an MPRIS service could be queried so that we can
> > reliably map streams to player instances. Or may I assume that the
> > service name suffix as in "org.mpris.foobar" actually is the process
> > name? I assume I may not, given that that is not documented.
> >
> 
> GetConnectionUnixProcessID should be enough.

Uh. That's not included in the D-Bus spec and not wrapped in the
reference implementation.

But yes, it is probably safe to rely on GetConnectionUnixProcessID and
not duplicate this is in MPRIS.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the mpris mailing list