Andrey Sidorov
Andrey Sidorov
oh, that's actually for service, sorry ( I thought you have a client ) Note that your signal must be declared in your interface - https://github.com/sidorares/node-dbus/blob/master/lib/bus.js#L213
Can you reduce your service to something with no dependencies - I'll try to run locally and check if signal is send with dbus-monitor or wireshark
should be possible (anything is possible at messaging level, just a bit more verbose to program)
People definitely attempted to interact with mpris using this library, have a look at #102 #89 #121 #60
At the moment it's not possible, the only way to access to that is to listen on `bus.connection.on('message')` Method is called there: https://github.com/sidorares/dbus-native/blob/19e7ce11ffeb9cc708508ed0aea302bfd4c41a55/lib/bus.js#L169 We can probably pass whole message as...
thanks for report @mikeyqin ! Can you help me debugging this? Tha error comes from https://github.com/sidorares/node-dbus/blob/a6ef757feb485d9f9a6367e2dc594fd5a456d1a2/lib/handshake.js#L27 I'm not exactly sure if auth method is correct ( https://dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms-sha ) and why...
looks lifor some reason it tries DBUS_COOKIE_SHA1 auth can you add some logging and check 1) if array of auth methods passed correctly at https://github.com/sidorares/dbus-native/blob/e115cc8e8a27670152216a7a7ffc51d643d4abef/lib/handshake.js#L60 2) log each line returned...
Sorry, I misread your comment. I thought you getting this error when you pass ` authMethods: ['ANONYMOUS']` setting I guess we need to add error handling to DBUS_COOKIE_SHA1 and when...
not sure how I can help. Can you show us the code that result in "Protocol not available" error?
Hey @pabigot happy to go with this change ( probably with major version bump )