None
closed
nobody
None
2018-04-08
2018-03-19
Anonymous
No

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
    medoc
    2018-03-20

    I 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
    Anonymous
    2018-03-30

    Twisted 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
    medoc
    2018-04-06

    I'm lost: doesn't lumin pass an appropriate argument to set standby 'off' when starting ?

    Is it working or not ? :)

     
  • medoc
    medoc
    2018-04-08

    Checked and it seems to work as expected: Lumin calls setStandby(false) when connecting and setStandby(true) when power-off is selected.

     
  • medoc
    medoc
    2018-04-08

    • status: open --> closed
    • milestone: -->
     

Cancel   Add attachment