i made little script to work with xbmc and i'm not able to get it work. Here the code:
import xbmcgui
import xbmc
while (not xbmc.abortRequested):
win = (xbmcgui.getCurrentWindowId())
menu = 0
if win == 10000 and menu != 10000:
print ("Home menu")
menu = 10000
All i want is that when home menu is there, write to log (but only once) for now it always write in the log when on menu
Thanks in advance