2012-01-13, 14:44
I am trying to load an image into an image control from a temporary directory made by my weather addon in addon_data like this"
...the image exists and that is the path I use successfully to save the image in my add on, but this seems to give a 'can't find texture' every time....
Do I have to save the images in the skins folder - seems messy?! Or somewhere else?
I don't see a reference to addon_data here?
http://wiki.xbmc.org/index.php?title=Special_protocol
Any help appreciated - I have my add on doing radar loops from a dummy folder on the c: drive but I really need to get my live downloaded ones going!!
Code:
<control type="image">
<description>background image</description>
<posx>115</posx>
<posy>100</posy>
<width>512</width>
<height>512</height>
<texture>special://profile/addon_data/weather.ozweather/RadarBackgrounds/IDR023.background.png</texture>
<aspectratio aligny="top">keep</aspectratio>
</control>
...the image exists and that is the path I use successfully to save the image in my add on, but this seems to give a 'can't find texture' every time....
Do I have to save the images in the skins folder - seems messy?! Or somewhere else?
I don't see a reference to addon_data here?
http://wiki.xbmc.org/index.php?title=Special_protocol
Any help appreciated - I have my add on doing radar loops from a dummy folder on the c: drive but I really need to get my live downloaded ones going!!