OSMC and Hyperion

Just a heads up,

we can now control services like the hyperion one via scripts during standby/resume…

I just stop/start it via subprocess like so:

/home/osmc/.kodi/userdata/wake.py

import subprocess
subprocess.call(["systemctl", "start", "hyperion"])

/home/osmc/.kodi/userdata/standby.py

import subprocess
subprocess.call(["systemctl", "stop", "hyperion"])

I actually control 3 hyperion instances just copy/paste the .call line and adjust :wink:

cheers
Anthrax

1 Like