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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Horizonz (https://forum.kodi.tv/forumdisplay.php?fid=97)
+----- Thread: Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition? (/showthread.php?tid=43265)

Pages: 1 2 3


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

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

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

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

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

Works lovely, Cranial. Thanks for sharing!


- ImpreZa - 2009-01-14

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


- Cranial - 2009-01-15

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

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

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

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...


- proctor - 2009-01-15

Yeah I tried both / and \ with no success.


- PinkMargera - 2009-01-15

Just installed it and it works like a charm. Thanks Cranial and Imprezza!


- ImpreZa - 2009-01-15

No problem. But donĀ“t thank me, thank Cranial for the original code and Team XBMC for making it possible.


- sickboy719 - 2009-01-16

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".


- Cranial - 2009-01-16

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?