XBMC Community Forum
Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (/forumdisplay.php?fid=179)
+----- Forum: Horizonz (/forumdisplay.php?fid=97)
+----- Thread: Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition? (/showthread.php?tid=43265)

Pages: 1 2 3 4


Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition? - PinkMargera - 2009-01-06 19:58

Hi,

just saw this thread where the weather fanart depends on which weather it actually is:
http://forum.xbmc.org/showthread.php?tid=41650

Anyone got this working with Horizons?

(I'm not that much into .xml editing, gave it a try but couldn't get it working.)


- Cranial - 2009-01-06 22:19

PinkMargera Wrote:Hi,

just saw this thread where the weather fanart depends on which weather it actually is:
http://forum.xbmc.org/showthread.php?tid=41650

Anyone got this working with Horizons?

(I'm not that much into .xml editing, gave it a try but couldn't get it working.)

Going to try to have a play with it today if I get time. I'll post the files / steps if I'm successful.


- PinkMargera - 2009-01-07 18:34

Cranial Wrote:Going to try to have a play with it today if I get time. I'll post the files / steps if I'm successful.

Sounds great, would love to have it working on my box.


- Cranial - 2009-01-12 11:14

PinkMargera Wrote:Sounds great, would love to have it working on my box.

Okay, I've got it working.

If you already have a custom weather backgrounds image folder on your xbox, transfer timdog82001's download to there. So you'll have something like:

xbox> E:/Images/Weather/00/
/01/
/02/
etc...


(keep the .txt file, it'll help you sort locations for adding more backgrounds later)

Then open skins/Horizonz/720p/MyWeather.xml

Then find the second <control type="multiimage"> (about line 22 it starts)

You'll see: <control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>-</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>2000</fadetime>
<randomize>true</randomize>
<info>Skin.String(CustomWeatherFolder)</info>
<include>backgroundfade</include>
</control>


Where you have <imagepath>-</imagepath>

Get rid of the - and add this E:\Images\Weather\$INFO[Weather.FanartCode] (Change the part before $INFO to the location of your images)

Good luck.

And it's not very effective in Horizonz with the dark weather panel overlay (I'll work on that too).


- dynamix - 2009-01-12 14:15

Works lovely, Cranial. Thanks for sharing!


- ImpreZa - 2009-01-14 20:34

For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.


- Cranial - 2009-01-15 00:49

ImpreZa Wrote:For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.

Didn't think of that. Cheers. So it still pulls correct reference of weather conditions like this?

*EDIT* Never mind, just tried it, works a treat! Cheers.


- dynamix - 2009-01-15 12:19

ImpreZa Wrote:For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.

Superb, thanks Impreza!


- proctor - 2009-01-15 18:21

This doesn't seem to work with linux paths.

I followed the directions but only see a black background.

I have my images in /home/xbmc/bg/weather
and
/home/xbmc/bg/weather/$INFO[Weather.FanartCode] in the imagepath tag.


- PinkMargera - 2009-01-15 18:37

proctor Wrote:This doesn't seem to work with linux paths.

I followed the directions but only see a black background.

I have my images in /home/xbmc/bg/weather
and
/home/xbmc/bg/weather/$INFO[Weather.FanartCode] in the imagepath tag.

Have you tried switching the "/" for "\"? Don't know if it makes any difference but why not try...