PDA

View Full Version : Need a simple script to display an image.


darkmodem
2005-07-25, 15:54
easy task.

the script needs to dl this:
http://image.weather.com/images/sat/japan_sat_720x486.jpg

that's it. should be easy. i'm having problems though.

i've been taking apart the poor dilbert script, but nothing seems to work. i would also like it to display. the resolution, being known, should make this easier. please help a retard.

thanks

darkmodem
2005-08-01, 05:50
anybody?

Asteron
2005-08-05, 16:56
this is actually a dev question:

this is the core of it...


urllib.urlretrieve(url, filename)
window.image = xbmcgui.controlimage(x, y,width,height, filename)
window.addcontrol(window.image)