2014-02-09, 12:02
Hi,
This is my first attempt at something very basic.
I have a dialogue box which pops up upon start, however it does not have focus on the button, and after clicking OK the home screen does not work correctly until I click "home" on the remote.
What am I doing wrong?
Any help gratefuly received!
created script.myscript.checks directory containing just autostart.py:
This is my first attempt at something very basic.
I have a dialogue box which pops up upon start, however it does not have focus on the button, and after clicking OK the home screen does not work correctly until I click "home" on the remote.
What am I doing wrong?
Any help gratefuly received!
created script.myscript.checks directory containing just autostart.py:
PHP Code:
import sys
import os
import pwd
import xbmcgui
if os.path.isfile("/.safeboot") :
dialog = xbmcgui.Dialog()
dialog.ok("Device did not shut down properly", "Always shut down via the power button")