Re: No way to advertise an interface?

Anders Feder <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CAFqna2UnwhHpn-vx_ukKviuJwgYQ2SKxsKfyvJiAaiQms5Dnxg@mail.gmail.com>
If I understand correctly that would result in the first media player to
request the name to be made the owner of the name and thus be removed from
the list returned by ListQueuedOwners? So to get a full list, you would
have to also call GetNameOwner. I guess it would indeed get the job done
though.

Regards,
Anders Feder

ons. 29. sep. 2021 19.20 skrev Thiago Macieira <[email protected]>:

> On Tuesday, 28 September 2021 12:27:21 PDT Anders Feder wrote:
> > unique bus name which
> > begins with the prefix "org.mpris.MediaPlayer2"
>
> I recommend simply queueing on the exact name above, instead of using it
> as a
> prefix. You can get all of the media players by querying the bus function
> ListQueuedOwners.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel DPG Cloud Engineering
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.