def load_settings(self):
self.SPEED = float(addon.getSetting('slideshow_speed'))
self.SHOW_TITLE = addon.getSetting('show_title') == 'true'
self.CONCURRENCY = 1.0 #float(addon.getSetting('appletvlike_concurrency'))
self.MAX_TIME = int(8000 / self.SPEED) #int(15000 / self.SPEED)
self.NEXT_IMAGE_TIME = int(12000.0 / self.SPEED)
self.TEXT_ANIMATIONS= [
('conditional', 'condition=true effect=fade delay=0 time=500 start=0 end=100 ' ),
('conditional', 'condition=true effect=fade delay=%s time=500 start=100 end=0 tween=circle easing=in' % self.NEXT_IMAGE_TIME ) ]
#using WindowXMLDialog(ScreensaverXMLWindow) instead of WindowDialog. the image used in text background does not load when using WindowDialog (???) some images load, most don't