Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
PinkMargera Offline
Junior Member
Posts: 11
Joined: Oct 2008
Reputation: 0
Question  Weather 'FanArt' in Horizonz - change weather backdrops based on weather condition?
Post: #1
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.)
find quote
Cranial Offline
Fan
Posts: 740
Joined: Aug 2008
Reputation: 3
Location: Sydney, Australia
Post: #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.
find quote
PinkMargera Offline
Junior Member
Posts: 11
Joined: Oct 2008
Reputation: 0
Post: #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.
find quote
Cranial Offline
Fan
Posts: 740
Joined: Aug 2008
Reputation: 3
Location: Sydney, Australia
Post: #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.
find quote
dynamix Offline
Senior Member
Posts: 173
Joined: Jan 2008
Reputation: 0
Location: Netherlands
Post: #5
Works lovely, Cranial. Thanks for sharing!
find quote
ImpreZa Offline
Junior Member
Posts: 30
Joined: Mar 2005
Reputation: 0
Location: Sweden
Post: #6
For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.
find quote
Cranial Offline
Fan
Posts: 740
Joined: Aug 2008
Reputation: 3
Location: Sydney, Australia
Post: #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.
(This post was last modified: 2009-01-15 01:04 by Cranial.)
find quote
dynamix Offline
Senior Member
Posts: 173
Joined: Jan 2008
Reputation: 0
Location: Netherlands
Post: #8
ImpreZa Wrote:For Weather "fanart" on homescreen, I added exactly the same as above but in Backgrounds.xml instead.

Superb, thanks Impreza!
find quote
proctor Offline
Senior Member
Posts: 113
Joined: Aug 2008
Reputation: 0
Post: #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.
find quote
PinkMargera Offline
Junior Member
Posts: 11
Joined: Oct 2008
Reputation: 0
Post: #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...
find quote
proctor Offline
Senior Member
Posts: 113
Joined: Aug 2008
Reputation: 0
Post: #11
Yeah I tried both / and \ with no success.
find quote
PinkMargera Offline
Junior Member
Posts: 11
Joined: Oct 2008
Reputation: 0
Post: #12
Just installed it and it works like a charm. Thanks Cranial and Imprezza!
find quote
ImpreZa Offline
Junior Member
Posts: 30
Joined: Mar 2005
Reputation: 0
Location: Sweden
Post: #13
No problem. But donĀ“t thank me, thank Cranial for the original code and Team XBMC for making it possible.
find quote
sickboy719 Offline
Senior Member
Posts: 113
Joined: May 2007
Reputation: 0
Post: #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".
find quote
Cranial Offline
Fan
Posts: 740
Joined: Aug 2008
Reputation: 3
Location: Sydney, Australia
Post: #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.
find quote
Post Reply