No way to advertise an interface?

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Tue Sep 28 22:23:38 UTC 2021


On Tue, 28 Sep 2021 21:27:21 +0200, Anders Feder wrote:

> For clients to be able to discover services that implement the
> interface, the MPRIS specification requires each media player
> to request a unique bus name which begins with the prefix
> "org.mpris.MediaPlayer2".
>
> ...
> 
> This to me seems like bad practice: The whole purpose of interface
> namespaces is to prevent naming collisions.

Yet you were talking above about bus names, not interface names.
Multiple bus peers can implement the same interface, why not?


More information about the dbus mailing list