2013-03-20, 02:05
I think this will do it:
Code:
win = xbmcgui.Window(xbmcgui.getCurrentWindowId())
win.onAction = do_work
def do_work(action):
if action == ACTION_NAV_BACK:
print "Bye now!"