<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Dec 8, 2015 at 3:26 PM Tanu Kaskinen wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By the way, why does this functionality need to be in the daemon?<br>
Clients can monitor the device state, so why not trigger the script<br>
from client side?<br></blockquote><div> </div><div>Good point. This seems like a better idea, assuming that it doesn't add a significant delay between resuming a sink and calling the external handler. Calling the handler after suspending is less time critical.</div><div><br></div><div>I'll see if I can do this with the event subscription system (when I have time).</div><div><br></div><div>Thanks for the other comments as well!</div><div><br></div><div>Joonas</div></div></div>