diff --git a/seqs/kodi.sh b/seqs/kodi.sh index 03899d9..f17ce83 100755 --- a/seqs/kodi.sh +++ b/seqs/kodi.sh @@ -12,7 +12,7 @@ toolProfileDir="/home/kodi/.kodi" step_1_info() { echo "Install $toolName via apt"; } step_1_alias() { echo "install"; } step_1() { - exe apt update && apt install kodi + exe apt update && apt install kodi kodi-inputstream-adaptive kodi-eventclients-kodi-send } step_2_info() { echo "Set localisation and keyboard layout"; } @@ -75,7 +75,8 @@ User = ${toolUser} Group = ${toolUser} Type = simple ExecStart = /usr/bin/kodi-standalone -ExecStop = /usr/bin/pkill kodi +ExecStop = /usr/bin/kodi-send --action=\"Quit\" +ExecStopPost = sleep 15 Restart = always RestartSec = 15 @@ -201,6 +202,28 @@ step_40() { esac } +step_100_info() { echo "Notes"; } +step_100_alias() { echo "notes"; } +step_100() { + cat <