From 2b363b7a30d879d9cb8622f19200e7a4d6e2121b Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Mon, 17 Oct 2016 22:50:36 +0200 Subject: [PATCH] Log art caching --- resources/lib/artwork.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/lib/artwork.py b/resources/lib/artwork.py index ea6b6f17..f1cb43b1 100644 --- a/resources/lib/artwork.py +++ b/resources/lib/artwork.py @@ -180,6 +180,7 @@ class Image_Cache_Thread(Thread): except requests.Timeout: # We don't need the result, only trigger Kodi to start the # download. All is well + log.debug('Caching art initiated: %s' % url) break except requests.ConnectionError: # 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()) break # We did not even get a timeout + log.debug('Cached art: %s' % url) break queue.task_done() log.debug('Downloaded art: %s' % double_urldecode(url))