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,6 +411,7 @@ class Artwork():
cursor.execute(query, (imageUrl, kodiId, mediaType, imageType)) cursor.execute(query, (imageUrl, kodiId, mediaType, imageType))
# Cache fanart and poster in Kodi texture cache # Cache fanart and poster in Kodi texture cache
if mediaType != 'actor':
self.cacheTexture(imageUrl) self.cacheTexture(imageUrl)
def deleteArtwork(self, kodiId, mediaType, cursor): def deleteArtwork(self, kodiId, mediaType, cursor):