-
Hello, I am using When running my code, and when my player is not running, My code is supposed to watch a property thanks to Is there a way to "notify" my connection ( Hoping I was clear enough. Thank you very much in advance for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Actually that's not correct. zbus will still connect to the bus as the bus lives independent of your service. You can also create a proxy to the service just fine w/o any problems.
The stream is waiting on
You can wait on your player to start before creating the proxy and the property stream using https://docs.rs/zbus/latest/zbus/proxy/struct.Proxy.html#method.receive_owner_changed but it might be best if the player sent out I think this is something zbus could help with and the proxy should do this for you. I created #1172 for this. |
Beta Was this translation helpful? Give feedback.
You can use the
busctl monitor
command to ensure that thePropertiesChanged
signal is sent out and if it does, then that's a different bug (in addition to #1172) then.If …