Kodi Community Forum

Full Version: Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
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.)
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.
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.
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).
Works lovely, Cranial. Thanks for sharing!
For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.
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.
ImpreZa Wrote:For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.

Superb, thanks Impreza!
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.
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...
Yeah I tried both / and \ with no success.
Just installed it and it works like a charm. Thanks Cranial and Imprezza!
No problem. But donĀ“t thank me, thank Cranial for the original code and Team XBMC for making it possible.
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".
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?
Pages: 1 2 3