Esempio n. 1
0
import xbmc

try:
    import AlphaUIUtils

    if (not AlphaUIUtils.SleepSystem()):
        xbmc.executebuiltin('Suspend')
except:
    xbmc.executebuiltin('Suspend')
Esempio n. 2
0
import xbmc
import AlphaUIUtils

AlphaUIUtils.SleepSystem()