Fix AttributeError if caching deactivated

- Fixes #194
This commit is contained in:
tomkat83 2017-02-01 09:12:35 +01:00
parent 3dea6efb82
commit df23e6028e

View file

@ -211,7 +211,8 @@ class Service():
if not self.playback_starter_running:
self.playback_starter_running = True
self.playback_starter.start()
if not self.image_cache_thread_running:
if (not self.image_cache_thread_running and
settings('enableTextureCache') == "true"):
self.image_cache_thread_running = True
self.image_cache_thread.start()
else: