All logging to LOGDEBUG
This commit is contained in:
parent
a7f74582de
commit
2d76c74f42
|
@ -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
|
||||
|
||||
|
|
|
@ -481,7 +481,6 @@ class Addon(object):
|
|||
icon = os.path.join(self.path, self._addon.getAddonInfo('icon'))
|
||||
if not icon:
|
||||
icon = os.path.join(self.path, 'icon.png')
|
||||
xbmc.log(icon,xbmc.LOGINFO)
|
||||
if os.path.exists(icon):
|
||||
return icon
|
||||
else:
|
||||
|
|
2
main.py
2
main.py
|
@ -1107,7 +1107,7 @@ def context_action_star(type,id):
|
|||
|
||||
label = Addon().get_localized_string(30034)
|
||||
|
||||
xbmc.log('Context action star returning RunPlugin(%s)' % plugin.get_url(action='star_item',type=type,ids=id,unstar=starred),xbmc.LOGINFO)
|
||||
xbmc.log('Context action star returning RunPlugin(%s)' % plugin.get_url(action='star_item',type=type,ids=id,unstar=starred),xbmc.LOGDEBUG)
|
||||
return (
|
||||
label,
|
||||
'RunPlugin(%s)' % plugin.get_url(action='star_item',type=type,ids=id,unstar=starred)
|
||||
|
|
Loading…
Reference in New Issue