2013-02-19, 23:12
(2013-02-19, 23:04)doobiest Wrote: Any help on my slide-in animation question? I'm curious about that.
sure that should be possible, but this is what i'm trying to avoid ;-)
(2013-02-19, 22:50)doobiest Wrote: "write doobiest's script for him"
anyway...i guess you'll need to implement something along these lines:
Code:
firstimage = True
while(time.time() - start_time <= 14):
urllib.urlretrieve("http://asdf.com/camera/", '/tmp/bell.jpg')
viewer.image.setImage("")
viewer.image.setImage("/tmp/bell.jpg")
if firstimage:
viewer.image.setAnimations([('conditional', 'effect=fade start=0 end=90 time=500 condition=true',)])
firstimage = False
else:
viewer.image.setAnimations([('conditional', 'effect=fade start=90 end=90 time=0 condition=true',)])
xbmc.sleep(500)