(self, command)
return self._http_request(req)
Perform a request to the XBMC http api.
        @return raw request result or None in case of error
Perform a request to the XBMC http api.
Perform a request to the XBMC http api .
def _http_api_request(self, command):
        """
        Perform a request to the XBMC http api.
        @return raw request result or None in case of error
        """
        self._wake_screen()
        
        command = urllib.quote(command)
        url = 'http://%s/xbmcCmds/xbmcHttp?command=%s' % (self.host_string(), command)

        req = urllib2.Request(url)
        return self._http_request(req)
def _http_api_request ( self , command ) : self . _wake_screen ( ) command = urllib . quote ( command ) url = 'http://%s/xbmcCmds/xbmcHttp?command=%s' % ( self . host_string ( ) , command ) req = urllib2 . Request ( url ) return self . _http_request ( req )