(self)
XBMC doesn't seem to wake the screen when the screen is dimmed and a slideshow is started.
        See http://trac.xbmc.org/ticket/10883.
        
        There isn't a real method to wake the screen, so we'll just send a bogus request which does
        nothing, but does wake up the screen.
        
        For performance concerns, we only send this request once every minute.
XBMC doesn't seem to wake the screen when the screen is dimmed and a slideshow is started.
        See http://trac.xbmc.org/ticket/10883.
        
        There isn't a real method to wake the screen, so we'll just send a bogus request which does
        nothing, but does wake up the screen.
        
        For performance concerns, we only send this request once every minute.
XBMC doesn t seem to wake the screen when the screen is dimmed and a slideshow is started . See http : // trac . xbmc . org / ticket / 10883 . There isn t a real method to wake the screen so we ll just send a bogus request which does nothing but does wake up the screen . For performance concerns we only send this request once every minute .
def _wake_screen(self):
        """
        XBMC doesn't seem to wake the screen when the screen is dimmed and a slideshow is started.
        See http://trac.xbmc.org/ticket/10883.
        
        There isn't a real method to wake the screen, so we'll just send a bogus request which does
        nothing, but does wake up the screen.
        
        For performance concerns, we only send this request once every minute.
        """
        now = time.time()
        
        if not self._last_wakeup or now - self._last_wakeup > 60:
            self._last_wakeup = now
            
            self.log.debug('Sending wake event')
            self._http_api_request('sendkey(ACTION_NONE)')
def _wake_screen ( self ) : now = time . time ( ) if not self . _last_wakeup or now - self . _last_wakeup > 60 : self . _last_wakeup = now self . log . debug ( 'Sending wake event' ) self . _http_api_request ( 'sendkey(ACTION_NONE)' )