altdesktop / python-dbus-next

🚌 The next great DBus library for Python with asyncio support
https://python-dbus-next.readthedocs.io/en/latest/
MIT License
191 stars 60 forks source link

Is one-to-one communication supported by this library? #80

Open aslpavel opened 3 years ago

aslpavel commented 3 years ago

I'm not too proficient with D-Bus and maybe missing something. I was trying to use this library to communicate with pulseaudio as described here. It seems that pulseaudio only exposes service over session bus, with only purpose to be able to find one-to-one D-Bus server exposed by pulseadio. In the context of one-to-one communication bus_name is not used at all but most of the methods of this library do require it. Am I missing something? Thank you!

acrisci commented 3 years ago

It's a weird scenario, but could be supported. Someone started it but didn't contribute it. See #20. I would accept a contribution for this feature but please do it cleanly.