All logging to LOGDEBUG
This commit is contained in:
@ -894,7 +894,7 @@ class Connection(object):
|
||||
'converted': converted})
|
||||
|
||||
req = self._getRequest(viewName, q)
|
||||
xbmc.log("Requesting %s"%str(req.full_url),xbmc.LOGINFO)
|
||||
xbmc.log("Requesting %s"%str(req.full_url),xbmc.LOGDEBUG)
|
||||
res = self._doBinReq(req)
|
||||
if isinstance(res, dict):
|
||||
self._checkStatus(res)
|
||||
@ -2797,12 +2797,12 @@ class Connection(object):
|
||||
qdict.update(query)
|
||||
url = '%s:%d/%s/%s' % (self._baseUrl, self._port, self._serverPath,
|
||||
viewName)
|
||||
xbmc.log("Standard URL %s"%url,level=xbmc.LOGINFO)
|
||||
xbmc.log("Qdict %s"%str(qdict),level=xbmc.LOGINFO)
|
||||
xbmc.log("Standard URL %s"%url,level=xbmc.LOGDEBUG)
|
||||
xbmc.log("Qdict %s"%str(qdict),level=xbmc.LOGDEBUG)
|
||||
req = urllib.request.Request(url, urlencode(qdict).encode('utf-8'))
|
||||
if(self._useGET or ('getCoverArt' in viewName) or ('stream' in viewName)):
|
||||
url += '?%s' % urlencode(qdict)
|
||||
xbmc.log("UseGET URL %s"%(url),xbmc.LOGINFO)
|
||||
xbmc.log("UseGET URL %s"%(url),xbmc.LOGDEBUG)
|
||||
req = urllib.request.Request(url)
|
||||
return req
|
||||
|
||||
|
||||
Reference in New Issue
Block a user