Don't cache actor artwork

- It takes too long and takes up too much memory
This commit is contained in:
tomkat83 2017-01-20 16:30:37 +01:00
parent 44b98e5694
commit 3616c25a98

View file

@ -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((