Custom Shutdown Timer with stop playback and CECStandby


#1

I have modified Custom shutdown timer to stop playback after timer ends and it’s working well, but I want also let it send CECStandby command.

I’ve modified file:
\home\osmc.kodi\addons\skin.aeon.nox.5\1080i\DialogButtonMenu.xml"

AlarmClock(shutdowntimer,XBMC.PlayerControl(Stop))
After adding next line CECStandby //it inmediately puts TV to standby. :neutral_face:

How is possible after timer ends run another command?
I don’t have any coding skills :blush:
P.S. I’ve tried Sleep timer and Sleep watchdog addons, but neither of it was able to do things like stop playback and send CECStandby command together.
I’ve Vero 4K with latest update.