2015-12-07, 21:58
There is, atleast for me, a tiny issue with the autostart.sh. If Kodi crashes 'openbox --exit' doesn't cut it for me. Openbox will ask for permission to actually close. This isnt good for the WAF. Is Openbox still needed? should I kill openbox in a different way in autostart.sh or should we do something like:
Atleast this way it will restart Kodi. Both not really pretty though! We could also make it two seperate systemd scripts? One for Openbox and one for Kodi?
Ah well.. details.
Code:
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
while true; do
/usr/bin/kodi --standalone
done
Atleast this way it will restart Kodi. Both not really pretty though! We could also make it two seperate systemd scripts? One for Openbox and one for Kodi?
Ah well.. details.