From 3616c25a9858f4218cfcb5fe45e5281af8fe49f7 Mon Sep 17 00:00:00 2001 From: tomkat83 Date: Fri, 20 Jan 2017 16:30:37 +0100 Subject: [PATCH] Don't cache actor artwork - It takes too long and takes up too much memory --- resources/lib/artwork.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/artwork.py b/resources/lib/artwork.py index 08105837..89990832 100644 --- a/resources/lib/artwork.py +++ b/resources/lib/artwork.py @@ -411,7 +411,8 @@ class Artwork(): cursor.execute(query, (imageUrl, kodiId, mediaType, imageType)) # Cache fanart and poster in Kodi texture cache - self.cacheTexture(imageUrl) + if mediaType != 'actor': + self.cacheTexture(imageUrl) def deleteArtwork(self, kodiId, mediaType, cursor): query = ' '.join((