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


- hikaricore - 2009-01-16 09:15

sickboy719 Wrote:Bet she'll be pissed when a picture of her pops up next time it's "frigid".

I bet you'll be sleeping on the couch as well. ^_^


- timdog82001 - 2009-01-16 09:59

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

yes it does make a difference, and the one you use changes depending on whether you're using linux or whether you're using windows. It threw me off for quite a while before I figured it out.


- proctor - 2009-01-17 04:29

Cranial Wrote: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?

Well that probably explains it. I'll wait till the linux branch gets updated.


- buryourown - 2009-01-20 03:34

I'm having trouble getting this to work in the windows version of xbmc. Everything is up to date and I changed MyWeather.xml to read as follows:

<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>C:\XBMC\weather\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>2000</fadetime>
<randomize>true</randomize>
<info>Skin.String(CustomWeatherFolder)</info>
<include>backgroundfade</include>
</control>

Is there something im missing or has anyone even got this to work on the windows xbmc?


- timdog82001 - 2009-01-20 07:22

try getting rid of the <info> line


- buryourown - 2009-01-20 07:41

like so:

<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>C:\XBMC\weather\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>2000</fadetime>
<randomize>true</randomize>
<include>backgroundfade</include>
</control>

if that is correct its still not working, just get the default background.
any idea what else it may be?

EDIT***

Appears to be working now, not sure what happened but all is in order, thanks so much for your help!


- proctor - 2009-01-22 23:33

Update. This feature now works in the latest revisions for Linux


- boxterduke - 2009-02-05 23:10

Just modified my files for Horizons and it works great.
Thanks all.


- StratMangler - 2009-04-02 15:13

Can't get it to work & I'm no noob ; followed the directions to the letter and I just get a black screen.

This is what my MyWeather.XML file looks like ;

<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>C:\Weather\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>2000</fadetime>
<randomize>true</randomize>
<info>Skin.String(CustomWeatherFolder)</info>
<include>backgroundfade</include>
</control>


All I did was to make sure to extract the files linked onto the original post into the aforementioned directory (C:\Weather), but no matter what I try, nothing works.

I even set that directory as the rotating weather backdrop directory, but nope. All I ever get no matter what is a black screen.

Can anybody help?

PS : I have the latest build of XBMC and am running Windows XP.


- proctor - 2009-04-07 13:31

@StratMangler

Try removing the <info> tag


- StratMangler - 2009-04-08 08:31

Unfortunately, that didn't change anything. I still have the Horizonz "eye" background showing and nothing else.

Is there *anything* else that I need to do apart from extracting the images to a folder, pointing Horizonz to that folder, and modifying the MyWeather.XML file?

Because I've done so and it has never worked.


- proctor - 2009-04-08 15:25

Edit Backgrounds.xml instead of MyWeather.xml


- StratMangler - 2009-04-08 19:24

Tried doing that, proctor. As per your advice, I restored the MyWeather.XML file to what it once was and I edited the 2nd multiimage tag in the Backgrounds.XML file instead with no change. Here's what it looks like.

<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<imagepath>c:\Program Files\XBMC\skin\Horizonz\720\backdrops\weather\$INFO[Weather.FanartCode]</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>2000</fadetime>
<randomize>true</randomize>
<info>Skin.String(CustomSettingsFolder)</info>
<visible>[[Container(302).HasFocus(8) + Control.IsVisible(302)] + [!Player.HasMedia | !Skin.HasSetting(Visualisation)]] | [[Container(301).HasFocus(8) + Control.IsVisible(301)] + [!Player.HasMedia | !Skin.HasSetting(Visualisation)]] + !Skin.HasSetting(CustomSettingsFolder)</visible>
<visible>!Control.IsVisible(87)</visible>
<include>backgroundfade</include>
</control>



- nflchampion - 2009-04-09 11:00

I was having the same problem you're having now when I was setting this up today. You're modifying the wrong part of the XML. Where the one you're modifying has the following code, referring to the Settings background:

<info>Skin.String(CustomSettingsFolder)</info>

You need to find the one that has:

<info>Skin.String(CustomWeatherFolder)</info>
AND
<info>Skin.String(CustomWeather)</info>

Alter those, and switch back the settings folder to default, and you should get a multi-image weather background on the starting screen. Let me know if that works for you.

Edit: It also looks like you have a space in your $INFO. Make sure there isn't one.


- StratMangler - 2009-04-09 13:26

nflchampion... I'm very very confused. Your post isn't telling me which file you're referring to.

The instructions talk about solely modifying the MyWeather.XML file, whereas proctor talks about modifying the Background.XML. Which file(s) do I need to modify?

So far, I have modified *both* the MyWeather.XML *&* Backgrounds.XML files changing the "imagepath." Can you break it down in steps, please?