From 9cc731e18f607bdb7d7dc8008022891d2216ad0f Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 9 Dec 2018 13:56:51 +0100 Subject: [PATCH] Do not cache artwork vor Kodi 18 Leia or later - Seems Kodi is doing a better job at it then PKC - PKC caching could mess with Kodi threads trying to cache artwork that needs to show up immediately --- resources/lib/sync.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/sync.py b/resources/lib/sync.py index 37ab378f..fbe911a1 100644 --- a/resources/lib/sync.py +++ b/resources/lib/sync.py @@ -155,7 +155,8 @@ class Sync(backgroundthread.KillableThread): utils.settings('plex_status_fanarttv_lookup', value=utils.lang(107)) def start_image_cache_thread(self): - if not utils.settings('enableTextureCache') == "true": + if (not utils.settings('enableTextureCache') == "true" or + v.KODIVERSION >= 18): LOG.info('Image caching has been deactivated') return if self.image_cache_thread and self.image_cache_thread.is_alive():