Posts: 168
Joined: Mar 2009
Reputation:
3
I have a master password set on my xbmc so a password prompt comes up when it starts up. I want to create a script to lock xbmc after x number of minutes and present the login screen, but I haven't found the command to perform the lock. Help please.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
executebuiltin(masterlock). it's a toggle though, you can check the current status using the system.ismaster infobool. you can logout using executebuiltin(system.logout).
also see DialogButtonMenu.xml in the pm3 skin for reference
Posts: 4,997
Joined: May 2004
Reputation:
12
You can lock the screen saver AFAIK. Just set the screensaver time out to w/e you want.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yes, you can also use the screensaver lock if that does the job...