Hyperion starts again after shutdown

  • Hi,


    I'm running hyperion on libreelec 7.90.010 on Odroid C2 and after send a command "killall hyperiond" hyperion shutdown and after a couple of seconds it starts again?


    Is there a proper way to shutdown hyperion so the leds stay off?


    Thanks!

  • Hyperion-remote -c 000000


    Thank you i found out that hyperion won't start after killall hyperiond when i did


    systemctl disable service.hyperion.service


    I found a script on a tutorial for toggle hyperion on and off using my remote for my tv and it works now perfectly.


    I don't know if this is the right way to do it but it works finally.


    Here is the script that i found.


    Bash
    #!/bin/sh
    SERVICE='hyperiond'
    if ps | grep -v grep | grep $SERVICE > /dev/null
    then
    killall hyperiond
    curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Hyperion","message":"Disabled","image":"/storage/hyperion/hyperion.png"}}' http://192.168.178.57:8080/jsonrpc
    else
    /storage/.kodi/addons/service.hyperion/bin/hyperiond /storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json</dev/null >/dev/null 2>&1 &
    curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Hyperion","message":"Enabled","image":"/storage/hyperion/hyperion.png"}}' http://192.168.178.57:8080/jsonrpc
    fi

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!