Log art caching

This commit is contained in:
tomkat83 2016-10-17 22:50:36 +02:00
parent 1a4660571b
commit 2b363b7a30

View file

@ -180,6 +180,7 @@ class Image_Cache_Thread(Thread):
except requests.Timeout: except requests.Timeout:
# We don't need the result, only trigger Kodi to start the # We don't need the result, only trigger Kodi to start the
# download. All is well # download. All is well
log.debug('Caching art initiated: %s' % url)
break break
except requests.ConnectionError: except requests.ConnectionError:
# Server thinks its a DOS attack, ('error 10053') # Server thinks its a DOS attack, ('error 10053')
@ -202,6 +203,7 @@ class Image_Cache_Thread(Thread):
log.error("Traceback:\n%s" % traceback.format_exc()) log.error("Traceback:\n%s" % traceback.format_exc())
break break
# We did not even get a timeout # We did not even get a timeout
log.debug('Cached art: %s' % url)
break break
queue.task_done() queue.task_done()
log.debug('Downloaded art: %s' % double_urldecode(url)) log.debug('Downloaded art: %s' % double_urldecode(url))