Hiya! Thanks for the great daemon that a LOT of people enjoy using.
A question. I saw an option in Lumin control point to power off the device. Having sniffed logs on level 6 I found a member func called on this switch, but it's related to SC that I never heard of. Is there a possibility to add an external program called on this event, just like onvolumechange? This would be greatly useful thing when a person wants to put a remote renderer to sleep.
Thank you!
Marat.
Discussion
-
medoc
2018-03-20I just pushed a change which should hopefully do what you want. Look at the comments in upmpdcli.conf-dist for the onstandby parameter. Please give it a try if you have a possibility to build the software.
-
Anonymous
2018-03-20Thank you! Downloading.
-
Anonymous
2018-03-30Twisted my mind trying to find out why the command is "not found". :) After 4 hours understood that your patch forgets to dequote the string.
Hope it will work now.UPD: no. For some odd reason Lumin calls setstandby on every app start, so... Sorry for bothering. Thank you.
Last edit: Anonymous 2018-03-30
-
medoc
2018-04-06I'm lost: doesn't lumin pass an appropriate argument to set standby 'off' when starting ?
Is it working or not ? :)
-
medoc
2018-04-08Checked and it seems to work as expected: Lumin calls setStandby(false) when connecting and setStandby(true) when power-off is selected.
-
Anonymous
2018-04-15Yes, thank you, it DOES work now.
-
medoc
2018-04-08- status: open --> closed
- milestone: -->