Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition?
#1
Question 
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.)
Reply
#2
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.

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
#3
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.
Reply
#4
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).

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
#5
Works lovely, Cranial. Thanks for sharing!
Reply
#6
For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.
Reply
#7
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.

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply
#8
ImpreZa Wrote:For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.

Superb, thanks Impreza!
Reply
#9
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.
Reply
#10
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...
Reply
#11
Yeah I tried both / and \ with no success.
Reply
#12
Just installed it and it works like a charm. Thanks Cranial and Imprezza!
Reply
#13
No problem. But don´t thank me, thank Cranial for the original code and Team XBMC for making it possible.
Reply
#14
Thanks for the tips here.
This is awesome. Wife doesn't get it though. "Open a f'ing window" she says.

Bet she'll be pissed when a picture of her pops up next time it's "frigid".
Reply
#15
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.

Only the latest xbmc for xbox has the code pulled from svn, so not sure if linux version has it yet. You have the latest?

If I have helped you in any way, please forgive me, it was entirely accidental.
Reply

Logout Mark Read Team Forum Stats Members Help
Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition?1