View Full Version : Weather FanArt Pack (Backdrops with different weather conditions)
timdog82001
2008-12-06, 17:00
Thanks to Nuka1195, we now have properly working weather fanart functionality in the newest svn. This allows you to show different images depending upon the current weather conditions. So, you can have background images of rain when its rainy, clouds when cloudy, etc. I have collected a bunch and organized them all into the appropriate folders. To point a skin control like a multiimage to them, use something along the lines of:
<imagepath>C:\Users\Tim\XBMC Stuff\Weather\$INFO[Weather.FanartCode]</imagepath>
where the path is of course replaced with your path
http://rapidshare.com/files/170820865/weather.rar
There is a total of about 800 images here
For those of you using MediaStream v1.0, these images were chosen with this skin in mind so they should look fine used with this skin.
Enjoy!
[EDIT]: PS! FYI; further development discussion on adding on-the-fly theme/backdrops changes to skins with variables based on date and time of the day, and weather conditions can be found here:
http://xbmc.org/forum/showthread.php?t=40709
and here:
http://xbmc.org/forum/showthread.php?t=27354
Nuka1195
2008-12-06, 17:13
very nice timdog. i was hoping someone would do that :)
Nuka1195
2008-12-06, 18:48
just got them, very nice indeed. some cool thunderstorm pictures.
Thanks you very much for this weatherpack! Gonna try it asap :cool:
lompelurt
2008-12-08, 16:36
Thanks man. Many sweet pictures.
paularms
2008-12-09, 03:39
Okay, I think I'm a little dense, as I'm not finding any information about "multiimage". Can someone post a mod, or detailed information on what to do to make the multiimage working? Might be helpful for other noobs too :)
timdog82001
2008-12-09, 04:04
well here is the wiki entry for multiimage. http://xbmc.org/wiki/?title=MultiImage_Control
Just do something like that, and use the example i posted in the first post for the <imagepath>. If you're using mediastream, I could share my home.xml and myweather.xml files, but you'd have to edit the paths to match your own.
paularms
2008-12-09, 04:05
well here is the wiki entry for multiimage. http://xbmc.org/wiki/?title=MultiImage_Control
Just do something like that, and use the example i posted in the first post for the <imagepath>. If you're using mediastream, I could share my home.xml and myweather.xml files, but you'd have to edit the paths to match your own.
Ah. That page wasn't showing up in my searches. I am using MediaStream. Would you mind sharing your files?
timdog82001
2008-12-09, 04:12
search doesn't work at all. You have to search it using google for any hope of results. Ill post the files in a bit..
EDIT: http://rapidshare.com/files/171624644/mediastream.rar
You'll just want to do a search for C:\Users\Tim\Desktop\XBMC Wallpapers\weather\ in both files and replace it with your actual path. This replaces the default image, but you'll still be able to replace it with the skin's custom settings if you want.
paularms
2008-12-09, 05:07
Thank Tim. That was really helpful!
timdog82001
2008-12-09, 05:16
no problem
jmadonald
2008-12-10, 20:21
for xbox should i resize these or keep them the same?
also, if the images are stored on the xbox what do I put in the xml files to use those as backgrounds?
like this?
<imagepath>C:\Images\Weather\$INFO[Weather.FanartCode]</imagepath>
timdog82001
2008-12-10, 21:05
you'll probably want to resize them.
jmadonald
2008-12-10, 21:18
thanks, tim.
what is the directory path to use for images to show on viewing weather?
my iages are on /c/images/weather on xbox
timdog82001
2008-12-10, 21:32
yep, just like you wrote and it should work. You do need to be using a build newer than atlantis (i don't remember the actual revision number) in order for it to work.
jmadonald
2008-12-10, 22:43
thanks tim, I am having trouble connect to the ftpsite to get the latest svn build.
finally able to connect to t3ch site.
jmadonald
2008-12-11, 00:30
i must be doing something wrong.
I have the latest SVN 12/7 . All weather images on
/C/Images/Weather
myweather.xml
<description>Weather Background Image</description>
<control type="multiimage">
<imagepath>/C/Images/Weather/$INFO[Weather.FanartCode]</imagepath>
<include>CustomBGMultiImage</include>
</control>
Any ideas?
edit: got it working, path should be c:/images/weather
jmadonald
2008-12-11, 00:34
thanks for the help!
looks and works great!
a funky new addition to xbmc.
thanks for sharing ;)
jmadonald
2008-12-12, 13:53
what pics should show if it is fair outside? nothing is showing right now, worked great yesterday when it was raining.
timdog82001
2008-12-12, 14:28
Good question. I don't suppose you know the icon number for fair? Fair isn't the name of any of the conditions in the list the nuka posted, which is what i used. He did say he didn't know how current/accurate the list was so perhaps some stuff is off.
jmadonald
2008-12-12, 21:16
how do i go about finding the correct icon number?
timdog82001
2008-12-12, 22:15
well it looks like there really are only 47 icons, plus the na icon which i probably should account for, but anyway, SOMETHING should have shown up, even if it didn't seem correct for the weather conditions. I think this must have been a glitch with the system. You're using teh xbox, right? Did you ever scale down the images to the 900 by whatever resolution?
jmadonald
2008-12-12, 22:26
it may have been just a glitch. it is now showing one for light rain, so I'll keep watch.
I scaled the images down to 1280X720
jmadonald
2008-12-13, 00:51
ok found the icons, looks like this weather pack only accounts for 11 of the 47 icons.
timdog82001
2008-12-13, 02:19
what would make you say that? there are 47 different folders for the 47 different conditions. if you read teh weather.txt file in the weather folder, you can see ones where i used teh same images, but i defeinitely found images for more than 11 different weather types
jmadonald
2008-12-13, 02:21
hmm, something must have been up with my download of the weather pack. or how it was extracted using winrar.
re downloading.
yes, was an issue with the last download, I guess the 20MB size should have led me to believe it was an issue.
nothing to see, please move along.
timdog82001
2008-12-13, 05:49
Good to hear, glad you got it downloaded. :)
Just want to say thanks.
I really enjoy your fanart pack.:grin:
timdog82001
2008-12-19, 04:34
Glad you like it:) Also, everybody, if you guys notice any weather conditions where the images don't really match up, please let me know. Some of the conditions weren't really clear. Nuka's already pointed one out to me, and I'm sure there are at least a couple others.
XBMCG33K
2009-01-03, 14:24
Thank you for these images!
Gamester17
2009-01-03, 19:06
FYI; further development discussion on adding on-the-fly theme/backdrops changes to skins with variables based on date and time of the day, and weather conditions can be found here:
http://xbmc.org/forum/showthread.php?t=40709
and here:
http://xbmc.org/forum/showthread.php?t=27354
how do i go about finding the correct icon number?N/A Not Available
00 Rain/Lightning
01 Windy/Rain
02 Same as 01
03 Same as 00
04 Same as 00
05 Cloudy/Snow-Rain Mix
06 Hail
07 Icy/Clouds Rain-Snow
08 Icy/Haze Rain
09 Haze/Rain
10 Icy/Rain
11 Light Rain
12 Moderate Rain
13 Cloudy/Flurries
14 Same as 13
15 Flurries
16 Same as 13
17 Same as 00
18 Same as 00
19 Dust
20 Fog
21 Haze
22 Smoke
23 Windy
24 Same as 23
25 Frigid
26 Mostly Cloudy
27 Mostly Cloudy/Night
28 Mostly Cloudy/Sunny
29 Partly Cloudy/Night
30 Partly Cloudy/Day
31 Clear/Night
32 Clear/Day
33 Hazy/Night
34 Hazy/Day
35 Same as 00
36 Hot!
37 Lightning/Day
38 Lightning
39 Rain/Day
40 Rain
41 Snow
42 Same as 41
43 Windy/Snow
44 Same as 30
45 Rain/Night
46 Snow/Night
47 Thunder Showers/Night
timdog82001 I did expand your fanart-pack.
If you want to I can upload them.
timdog82001
2009-01-04, 02:19
That would be excellent, Waffa :)
Here they are. megaupload (http://www.megaupload.com/?d=1EJ49APA)
If you like them then copie them into Timdog82001 weather-pack.
All pictures are 16:9 but different sizes.
Got also all lot off backgrounds 6000+, all sorts of categories. 16:9 and mostly HD.
Did resize them for xbox use to 1280 x 720. Can make a torrent file of them.
timdog82001
2009-01-15, 03:53
http://xbmc.org/forum/showthread.php?p=269870#post269870
Short tutorial of how to add this functionality to Horizonz, thanks to Cranial
Can somebody tell me what the path should be when using this in XBMC Live?
I copied them on the root of my memorystick in Backdrops
If I go to a terminal, the xx-folders are in /mnt/Backdrops/Weather, so I set the path in the xml's to mnt/Backdrops/Weather/, but I only get a black screen in XBMC... :(
[edit]
Hm, this might be the problem:
http://xbmc.org/forum/showpost.php?p=270588&postcount=15
I'll have to figure out how to update XBMC Live to the latest SVN, I guess ???
SlaveUnit
2009-01-18, 19:09
Nice Waffa...the more eye candy the better, thanks. Also, thanks of course to timdog82001 and anyone else working on this as well. For some strange reason I am addited to the weather toys.
I'll have to figure out how to update XBMC Live to the latest SVN, I guess ???
Yeah, is that possible? And how do I do that, I know how to use Subversion and make and stuff but is it possible to change XBMC version in XBMC Live?
(EDIT)
Yes it's possible... added the svn ppa to apt sources file and made a apt-get install xbmc... now running latest svn =)
https://edge.launchpad.net/~team-xbmc-svn/+archive/ppa
Thanks for all the hard work and posting your .xml files.
I added this to my xbox running the pm3hd skin using this post
http://xbmc.org/forum/showpost.php?p=254793&postcount=17
When I add it the images cycle through super fast. Is there a way to slow it down? I'm running the xbox build from 12-30-2008
As well is there a way to have this run on the main page under the weather section so when you scroll up and down it shows the image for the correct condition opposed to having to enter the weather area? ;)
timdog82001
2009-01-30, 19:46
I added this to my xbox running the pm3hd skin using this post
http://xbmc.org/forum/showpost.php?p=254793&postcount=17
When I add it the images cycle through super fast. Is there a way to slow it down? I'm running the xbox build from 12-30-2008
http://xbmc.org/wiki/?title=MultiImage_Control
That should tell you all you need to know, but as a hint, look at the tag <timeperimage>
timdog82001
2009-01-30, 19:48
As well is there a way to have this run on the main page under the weather section so when you scroll up and down it shows the image for the correct condition opposed to having to enter the weather area? ;)
sure. The exact implementation depends on what skin you're using, but as far as the multiimage control itself, you don't need to change anything about it whether its in the weather window, home window, or anywhere else for that matter.
Thanks Tim I'll give it a looksee. I'm running PM3HD and will give it a tinker this evening.
On a side note it looks like I'm 30minutes north of you geographically. ;)
sure. The exact implementation depends on what skin you're using, but as far as the multiimage control itself, you don't need to change anything about it whether its in the weather window, home window, or anywhere else for that matter.
I guess I'm confused in what you mean. Don't you have to put the background statement in the myweather.xml and the home.xml files?
I guess I'm confused in what you mean. Don't you have to put the background statement in the myweather.xml and the home.xml files?
Yes, if you want to use them on the homepage and weather page.
Yes, if you want to use them on the homepage and weather page.
Thanks I'll see what I can break or give up after trying. hahahaha
timdog82001
2009-01-31, 02:07
yes, i was just saying you could pretty much copy and paste the multiimage control from one window to the other without having to change anything except maybe the position and size (posx, posy, and width, height). My point was that there aren't any weird window dependent variables in the control or anything of that sort.
And where exactly? Everett? I used to live in Port Angeles if you know where that is, and I noticed another member on here (or maybe it was xbox-scene) that was from the same place, and that kind of surprised me.
Marysville, just North of Everett. ;)
Thanks I'll see if can figure it out for the heck of it.
timdog82001
2009-02-01, 08:17
ah, yeah, Marysville....I think I stopped off there last year at a homedepot or jc penny or something, some shopping mall, where I met a guy to sell him a car part from my old impreza haha. I'm not sure i've ever really explored the area, though.
Welp I've come to the conslusion that either I'm blind or can't figure out how to get the fanart to auto change in the weather area or the home page based on the conditions. I've played with the code list a few posts above.
If anybody wants to throw me a bone I'd be greatful ;)
Oh yeah using PM3HD
timdog82001
2009-02-03, 04:37
Welp I've come to the conslusion that either I'm blind or can't figure out how to get the fanart to auto change in the weather area or the home page based on the conditions. I've played with the code list a few posts above.
If anybody wants to throw me a bone I'd be greatful ;)
Oh yeah using PM3HD
It's possible some or all of the code for the home backgrounds is located in the includes.xml and is only referenced in the home.xml file with an <include> tag. Or have you managed to find the relevant controls but just cant get it to work?
boxterduke
2009-02-05, 06:01
Great thread and work everyone.
I'm new to XBMC and I copied timdog82001 files that he posted on page one and edited them to point my path which is C:\XBMC\Backdrops\weather
So both files look like this (see below) but it is not working. It just shows a black screen at both home and when I select weather. Is there something else I need to change. I'm using MediaStream V1.00
I take it that the pictures should stay in their subdirectories for the codes to work but do I need to do anything else?
Your help is appreciated.
Home file:
<control type="group" id="214">
<description>Weather Background Image</description>
<include>HomeBackgroundFade</include>
<include>HomeWeatherBGVisible</include>
<control type="multiimage">
<imagepath>C:\XBMC\Backdrops\weather\$INFO[Weather.FanartCode]</imagepath>
<include>CustomBGMultiImage</include>
<include>WeatherBGVisible</include>
<include>HomeWeatherBGVisible</include>
</control>
MyWeather file:
<controls>
<control type="group">
<description>Weather Background Image</description>
<visible>Window.IsVisible(MyWeather)</visible>
<visible>![Control.IsVisible(53) + Window.IsMedia]</visible>
<control type="group">
<description>Weather Background Image</description>
<control type="multiimage">
<imagepath>C:\XBMC\Backdrops\weather\$INFO[Weather.FanartCode]</imagepath>
<include>CustomBGMultiImage</include>
</control>
<control type="group">
<include>CustomWeatherBackground</include>
</control>
</control>
</control>
timdog82001
2009-02-05, 10:29
the only thing you changed was the file path? It should work then, you could try adding a slash to the end but i don't think that should be necessary. how old is the xbmc you're using? what revision?
Make sure you are using latest version of XBMC too.
boxterduke
2009-02-05, 15:34
Hey guys, I'm using the latest version of XBMC. I downloaded it mid January from the main site so it is XBMC 8.10 ‘Atlantis’.
As for the slash do you mean at the end of the path? C:\XBMC\Backdrops\weather\
It is added as you can see above.
Is anyone using Aeon and can post their files? I can try Aeon and see if it works or Horizonz.
Has anyone had any luck with this in PM3.HD?
I am mostly interested in getting it working in home.xml.
If anyone could assist me with their code, I would appreciate it.
I must be missing something because it is coming up with the default picture still.
timdog82001
2009-02-05, 20:47
Hey guys, I'm using the latest version of XBMC. I downloaded it mid January from the main site so it is XBMC 8.10 ‘Atlantis’.
As for the slash do you mean at the end of the path? C:\XBMC\Backdrops\weather\
It is added as you can see above.
Is anyone using Aeon and can post their files? I can try Aeon and see if it works or Horizonz.
That's the problem. It wasn't added until after 8.10. You have to get the newest svn. If you're getting linux, there is an svn repository, for osx, i have no idea, and for windows, you get it here: http://ocs.nl/xbmc/
timdog82001
2009-02-05, 20:51
Has anyone had any luck with this in PM3.HD?
I am mostly interested in getting it working in home.xml.
If anyone could assist me with their code, I would appreciate it.
I must be missing something because it is coming up with the default picture still.
You should probably disable the default picture if you're going to have the fanart there. It's possible it may be covering up the weather fanart even..
The easiest thing to do would probably be just to modify the default image control and change it to a "multiimage" control, and add in <timeperimage> and other necessary multiimage tags (see the wiki for all of them).
boxterduke
2009-02-05, 22:33
That's the problem. It wasn't added until after 8.10. You have to get the newest svn. If you're getting linux, there is an svn repository, for osx, i have no idea, and for windows, you get it here: http://ocs.nl/xbmc/
Thanks a bunch Tim, XBMCSetup-Rev17586-jester.exe worked like a charm on my test machine. Just have to play around with it a bit before installing on the main HTPC. :grin:
Thanks Timdog,
I believe I have all my multiimage tags correct and I did remove the original image path.
I think it is my placement within home.xl
PM3.HD seems to have two controls for weather. One for the default image and the other for the user specific background images I am guessing. See below...
- <control type="multiimage">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<info>Skin.String(Home_Custom_Back_Weather_Folder)</info>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<include>backgroundfade</include>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<visible>Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
- <control type="image">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<texture>background-weather.jpg</texture>
<include>backgroundfade</include>
<visible>!Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
Any assistance on what I should be replacing would be greatly appreciated.
Could someone please confirm custom backgrounds based on weather conditions are still working on linux with current SVN builds ?
It was working for me in revision 17505 with the PM3.HD skin using this string in Home.xml:
<imagepath>/home/xbmc/.xbmc/skin/weather/$INFO[Weather.FanartCode]</imagepath>
After updating XBMC today to revision 17591 it stopped working. I even tried deleting my entire profile so it was freshly created, but no luck.
Also checking the debug log revealed no relevant info to me.
I've been troubleshooting this issue for a while now and it seems the latest working revision is 17508. So the updates in 17509 broke things for me.
Since there were so many code changes in 17509 it's hard to figure out what's exactly to blame.
Any ideas ?
timdog82001
2009-02-07, 12:17
@ekim
change the multiimage visible tag to yes, and the image visible tag to no. Then, change the <info> tag in the multiimage to be the path to the weather fanart as in the first post of this thread. That should work for you. Now, just adjust the timeperimage to a time you like. 5000 = 5 seconds
@ronie
I'm afraid I don't know, I don't run linux anymore.
Thanks timdog,
I got it working now. I ended up deleting the visiable lines altogether and it worked perfect on my home.xml
I have not tried it for myweather.xml, because I don't see how it could possibly look right in pm3.hd. The weather window does not have a fanart view so I am having trouble picturing where the images will appear.
Appreciate your responses.
@ ekim232 & everyone who's trying to get this working with PM3.HD
There's really no need to delete any of the visible tags.
You just have to enable custom weather backgrounds in XBMC first:
Settings > Skin Settings > Background > Weather Button - Enable Custom Background
Next add this line to the weather multiimage part of Home.xml:
<imagepath>C:\XBMC\Weather\$INFO[Weather.FanartCode]</imagepath>
That's all.
@timdog82001
No problem, thanx anyway. I indeed hadn't tested it on windows. So i installed a recent Jester build and got it working without any problem.
Still no luck on linux however. Tried both PM3.HD and Horizonz. Normal custom backgrounds are still working fine, but just the weather background based on $INFO[Weather.FanartCode] fails.
timdog82001
2009-02-08, 06:26
Still no luck on linux however. Tried both PM3.HD and Horizonz. Normal custom backgrounds are still working fine, but just the weather background based on $INFO[Weather.FanartCode] fails.
Did you try reversing the slashes in the path? I noticed some paths in linux work only with the reverse of the windows slashes
It is also broken for me on linux with the latest revisions
Thanx for confirming proctor, i can stop troubleshooting now and leave it up to the devs.
I'll open a new thread in the linux forum.
@timdog82001
Nope, reversing slashes doesn't work in this case.
I figured out a workaround for linux.
I was messing around with different paths and noticed in the log that for some reason the imagepath tag looks in this path by default:
/usr/share/xbmc/skin/SKIN/media/
So I added a symlink to my weather folder in that path and changed the imagepath tag in Backgrounds.xml to read
<imagepath>weather/$INFO[Weather.FanartCode]</imagepath>
Now it works.
Great, thanx! It's working for me too.
SlaveUnit
2009-02-19, 03:57
Heya Tim,
I think your home.xml file is based on the Mediastream 1.0 version (the one you posted a while back in this thread). Is that correct? If so I was wondering if you happen to be running the Mediastream SVN. I see the home.xml file is a bit different. It look like images are chopped up into 3s? Maybe I am way off but it definately has some positive changes such as when you hit escape from the system settings there is no more flicker etc. Anyways my question is if you are running the SVN version of Mediastream can you post your home.xml file so I can see how you were able to intergrate your changing weather backgrounds? Thanks.
timdog82001
2009-02-19, 04:59
i don't have one that works with the current svn at the moment because the latest svn of mediastream doesn't seem to work quite right with multiimages which I use for some of the home page. I don't know if its actually an xbmc problem or what, but even after a clean install of xbmc and mediastream all my multiimages show the left 1/3 of the default image over the top of my multiimages. I was sort of waiting for them to fix that. So, as soon as that gets working again I plan to update my mediastream and I could upload that file then....
Do any of you guys use multiimages on the home page of mediastream? I want to make sure I'm not alone here with this bug.
SlaveUnit
2009-02-19, 07:21
i don't have one that works with the current svn at the moment because the latest svn of mediastream doesn't seem to work quite right with multiimages which I use for some of the home page. I don't know if its actually an xbmc problem or what, but even after a clean install of xbmc and mediastream all my multiimages show the left 1/3 of the default image over the top of my multiimages. I was sort of waiting for them to fix that. So, as soon as that gets working again I plan to update my mediastream and I could upload that file then....
Do any of you guys use multiimages on the home page of mediastream? I want to make sure I'm not alone here with this bug.
Ok well good and bad to hear. Good in the the fact that I tried and got the same result as you with the 1/3 of the image displaying the default. Thats why I mentioned it might be cut into 3 parts. Bad in the fact that it doesnt currently work. Ill keep checking this thread daily. Thanks for the quick reply Tim.
timdog82001
2009-02-19, 11:34
you might want to mention it in the mediastream forums. Maybe they'll fix it if more people than just me complain about it :P
And yes, it is cut into 3 parts, but that's intentional, of course....They did that to decrease load times, and reduce memory overhead and so on....For example, the leftmost image is a lower resolution than the others cause it's hidden behind the menu 99 percent of the time.
timdog82001
2009-02-20, 00:42
I just tried out the newest XBMC and all seems to be fixed. :) Might be a while before I have time to remod mediastream though....I have a field trip this weekend and I'm taking SIX classes this quarter, so as you can imagine I'm a very busy guy. Plus, I'm spending spring quarter in central america, and need to move all my stuff back to my parents and find a subletter and find a summer job and....well, you get the idea. I've got a lot to do in the next month before i leave. :) I'll try to do it in the next week though.
SlaveUnit
2009-02-20, 18:01
EDIT: It doesnt work again for me. Tim can you paste what you have in your home file for the weather section. Did you use the same code as before?
timdog82001
2009-02-20, 20:47
I actually wasn't refering to the weather stuff specifically, only to the fact that the left section of the default image no longer appears over the top of the other ones. I'll see if I can merge my mod back in with mediastream and get it working...
SlaveUnit
2009-02-20, 21:04
Ok thanks. I will try to work on it today as well...although I have no clue what Im doing. But will attempt anyways.
timdog82001
2009-02-20, 21:20
ok...this is weird but the machine i tested on wasn't my main xbmc machine. When i updated the other and tried it out mediastream was still screwed up with the 1/3 of the image deal...but deleting the userdata folder (for some reason) fixed it. So it may have been a problem with my computer all along. What I can't understand is how that would have affected it. I didn't have another copy of mediastream in there or anything at all that could have been overiding the program files copy. oh well
EDIT: Playing around with it some more I figured out it was something in the guisettings.xml. Weird.
SlaveUnit
2009-02-20, 21:49
Ok so you are still using your old home.xml with the new SVN of mediastream? I think I got a bit lost here and what you are using.
timdog82001
2009-02-20, 22:21
As of now, yes. I deleted my mods a while back trying to figure out what was causing that 1/3 image thing. Basically, my problems probably aren't relevant to you at all.
timdog82001
2009-02-21, 00:07
Ok, give this a shot. I seem to have misplaced my weather fanart so I'm redownloading that myself right now (and so haven't tested this yet)....
But here it is: http://rapidshare.com/files/200533409/weather_mod.rar
This time it replaces your includes.xml and your myweather.xml
This time I put the weather multiimage in as part of the custom background folder stuff....So, basically, to get it to work you'll have to select the weather fanart background folder in the custom mediastream skin settings, and enable custom backgrounds in the home section of skin settings, and it SHOULD work. If it doesn't work I'm sure to find out myself once this thing finishes downloading.
Note that I also included a button inside the weather window that should launch the TWC Supplemental script. If you don't have this script, you should really check it out. You can see a variety of different maps, weather warnings, and even videos about weather in your region. It looks for it in your main XBMC folder, at xbmc\scripts\TWC Supplemental\default.py, so if it's there it should launch fine. If you don't want this button there, just open up myweather.xml and add <visible>no</visible> to the control with id 77 (near the top of the file)
SlaveUnit
2009-02-21, 02:11
Ok well to start. Yes I definitely have the TWC plugin. Its great. In fact if you havent already, check out the new one that was released today. I has a lot of nice new menus and features IMO.
So I have replaced both of my files with the ones you posted. I checked the "Enable custom backgrounds" and made the backgroud folder to the correct one in the "Set weather background folder". This caused both the home and the weather page to be blank/black for the backgrounds. Although the TWC still has the background images. I guess that last part was to be expected.
timdog82001
2009-02-21, 02:36
Yeah i see it doesn't work. I'll have to figure out the problem later tonight.
Nazgulled
2009-02-21, 03:44
I too am having the problem where only what is show is a black screen but maybe I can provide some insight on what's happening, at least on my end and on my Windows box.
When I first start XBMC and look at the weather (in home) I only see a black background, but the weather info and the tiny icon are there... I looked at the log file (with full debug enabled) and it was trying to get images from the "na" (not available) folder instead of one of numbered folders... I then opened the weather and pressed "refresh", went back to home, and now the images are shown...
Any idea why this is ahppening and how to fix it?
timdog82001
2009-02-21, 04:14
I can't figure out why this isn't working. It seems correct...i've tried removing, adding, and reversing slashes, but nothing seems to fix it. If I put in the path manually it shows up perfectly. Just to verify how I was putting it in I took a look at nuka's twc script and he's doing it the same way so i really don't know whats going on.
Anyway, here's a new upload. http://rapidshare.com/files/200599075/weather_mod.rar To get it working just do a search for C:\Documents and Settings\Administrator\My Documents\XBMC Stuff\XBMC Wallpapers\Weather\ and replace it with your path. There should be one entry in both files.
EDIT: One other thing, you need to make sure the custom weather wallpaper folder is enabled by going to the skin settings and setting a folder for the weather backdrop folder. It doesn't matter what folder you choose, cause it's not going to look in that folder, you just need to choose something so that it enables the control the weather fanart is part of and makes it display.
Nazgulled
2009-02-21, 06:21
Did you try to refresh as I did to see if we hare having the same problem?
SlaveUnit
2009-02-21, 06:39
I can't figure out why this isn't working. It seems correct...i've tried removing, adding, and reversing slashes, but nothing seems to fix it. If I put in the path manually it shows up perfectly. Just to verify how I was putting it in I took a look at nuka's twc script and he's doing it the same way so i really don't know whats going on.
Anyway, here's a new upload. http://rapidshare.com/files/200599075/weather_mod.rar To get it working just do a search for C:\Documents and Settings\Administrator\My Documents\XBMC Stuff\XBMC Wallpapers\Weather\ and replace it with your path. There should be one entry in both files.
That worked. Thanks Tim for your time on this!
timdog82001
2009-02-21, 07:14
Did you try to refresh as I did to see if we hare having the same problem?
yes I did try. didn't work for me, though..
Nazgulled
2009-02-21, 17:50
I fixed my problem, not sure if it helps others or not but let us recapitulate what to do to make this work:
1) Place your weather fanart folders (00, 01, 02...) somewhere you like, ie: D:\Backdrops\Weather.
2) Open PM3.HD Home.xml and search for the "Skin.HasSetting(Home_Enable_Custom_Back_Weather)" string inside a "multiimage" control.
3) Add an <imagepath> tag with "D:\Backdrops\Weather\$INFO[Weather.FanartCode]" (without the quotes). And comment the <info> tag, this is what solved it for me. Save the file.
4) Open XBMC, go to skin settings and enable the custom weather backgrounds. There's not need to sepecify a folder here.
As an example, here's the default "multiimage" control on the PM3.HD default Home.xml file:
<control type="multiimage">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<info>Skin.String(Home_Custom_Back_Weather_Folder)</info>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<include>backgroundfade</include>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<visible>Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
And here's the changes as explained above:
<control type="multiimage">
<posx>356</posx>
<posy>100</posy>
<width>924</width>
<height>520</height>
<imagepath>D:\Backdrops\Weather\$INFO[Weather.FanartCode]</imagepath>
<!--<info>Skin.String(Home_Custom_Back_Weather_Folder)</info>-->
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<include>backgroundfade</include>
<visible>ControlGroup(9000).HasFocus(5)</visible>
<visible>Skin.HasSetting(Home_Enable_Custom_Back_Weather)</visible>
</control>
Note the bold lines...
This has worked for me :grin: I tried to understand what the <info> label does exactly but was not able too, but without it, it solved the problem for me.
Hopefully, this will help others having the same problem... What would be nice is to have proper support for this on the PM3.HD skin, without having the need to do manual changes to .xml files. This sucks because when we update XBMC, these changes will be overwritten :no:
SlaveUnit
2009-02-21, 18:16
"This sucks because when we update XBMC, these changes will be overwritten"
Get used to it. This software is written for tons of people so every little tweak you want for yourself isnt going to happen for everyone. Just need to keep copies of the files you are changing and pop them in when you update. Also you dont have to update when you update XBMC. Only when you update your skin. These are skin files. And how often you do really update your skin? Just uncheck it when you install a prebuilt SVN version.
You are pretty new to the forums. Maybe a week or so? So really you shouldnt be complaining yet. :)
Nazgulled
2009-02-21, 19:07
"This sucks because when we update XBMC, these changes will be overwritten"
Get used to it. This software is written for tons of people so every little tweak you want for yourself isnt going to happen for everyone. Just need to keep copies of the files you are changing and pop them in when you update. Also you dont have to update when you update XBMC. Only when you update your skin. These are skin files. And how often you do really update your skin? Just uncheck it when you install a prebuilt SVN version.
You are pretty new to the forums. Maybe a week or so? So really you shouldnt be complaining yet. :)
Excuse me? That's the most absurd thing I heard in a long time... Why can't I complain? It's not like I'm forcing anyone to make the changes I want... My "complaints", as you call them, are not complaints at all, I'm just making a point and perhaps, there's some implicit suggestions in there!?
If some important changes are done to the default skin, then, I want to have those changes and if I uncheck the skin then update, I won't have those important changes. What you are saying makes no sense... We are talking about the default skin, not some other skin that I update manually when I want.
But I'm going to lay it out for you just so you understand... Since this "weather backdrops based on weather conditions" is now a feature part of XBMC, why can't the default skin, better yet, why shouldn't the default skin support it natively? The proper and best configuration for this is to enable the custom backgrounds in the skin settings and set the respective folder for the weather backdrops.
Now, there's 2 solutions for this:
a) The skin try to detect automaticall if there are numbered folders (00, 01, etc...) in the weather backdrops folder and automatically appends the respective folder number ($INFO[Weather.FanartCode]) to the folder path.
b) A new option is added to the skin settings dialog where the user enables, or not, weather backdrops based on current weather conditions.
But this is not a complaint at all, it's only a suggestion... Someone, or the skin author, can implement it or not, it's their choice, I'm not forcing anyone to do anything.
You better start undestanding the difference between a real complaint and a suggestion, before starting to be rude in your posts.
SlaveUnit
2009-02-21, 20:22
Maybe you missed the smiley face?
The "weather backdrops based on weather conditions" is not a feature part of XBMC. It is an addin or a tweak...whatever you would like to call it. If it were a part of the trunk all your worries would be solved because you wouldn't have to change the files each time you update. Im saying get used to it because there are tons of tweaks on the forums that are not in the SVN build.
So in the future dont take everything so seriously...especially when there is a smiley face after it. You do have 105 posts in 2 weeks...so calm down a bit.
Nazgulled
2009-02-21, 22:34
I don't care about smiley faces, you were rude nevertheless and you are still being so... You really think that you, having more posts than me makes you better or superior? I dont' think so and I don't need to calm down when people like you think they are better than everyone else... You want to know my age too? Maybe your are older than me and that makes you even far superior to me? I don't care how old are you but seriously, grow up, your arguments are ridiculous.
And as far as I know "weather backdrops based on weather conditions" is something that it's on the main XBMC trunk and when 9.04 comes out, it will probably come with that feature, no reason for the default skin not have proper support for it. But like I said, it's just a suggestion. You don't like it? Fine, I didn't ask you to implement anything did I?
timdog82001
2009-02-22, 03:45
I fixed my problem, not sure if it helps others or not but let us recapitulate what to do to make this work:
1) Place your weather fanart folders (00, 01, 02...) somewhere you like, ie: D:\Backdrops\Weather.
2) Open PM3.HD Home.xml and search for the "Skin.HasSetting(Home_Enable_Custom_Back_Weather)" string inside a "multiimage" control.
3) Add an <imagepath> tag with "D:\Backdrops\Weather\$INFO[Weather.FanartCode]" (without the quotes). And comment the <info> tag, this is what solved it for me. Save the file.
4) Open XBMC, go to skin settings and enable the custom weather backgrounds. There's not need to sepecify a folder here.
As an example, here's the default "multiimage" control on the PM3.HD default Home.xml file:
And here's the changes as explained above:
Note the bold lines...
This has worked for me :grin: I tried to understand what the <info> label does exactly but was not able too, but without it, it solved the problem for me.
Hopefully, this will help others having the same problem... What would be nice is to have proper support for this on the PM3.HD skin, without having the need to do manual changes to .xml files. This sucks because when we update XBMC, these changes will be overwritten :no:
Were you working with pm3 earlier? This whole discussion before was about mediastream, unless i was completely misunderstanding. Anyway, glad to see you got it working. The info tag is essentially the same as the multiimage tag in this case, but you can use it with infolabels.
Also, home.xml in pm3 isn't likely to change much in the near future. I think you'd be perfectly fine just making sure to save a copy of your home.xml and copying over with it each time you update xbmc. It may be a bother to have to do this everytime...but hey, its a mod.
And I wouldn't really call this a hack or tweak so much....It is a feature that was added by an xbmc team member to serve this very purpose (it is however a hack/tweak of the pm3 skin). But, those seriously interested in the feature seem to be a rather small percentage of xbmc users and one of xbmc's main goals it to keep things simple. They really like to keep things like skin settings to a bare minimum. I'm guessing this is why it hasn't been added. If more people showed interest in weather fanart, that might change. Then again I could be way off here, but thats my opinion on the matter.
Nazgulled
2009-02-22, 19:42
Sorry about that, I though the discussion was about the PM3 skin, I don't use the other one... I just saw so many posts in the past and currently about the weather fanart not showing correctly that I though the problem was the same.
At least, that's the solution that fixed the problem for me in the PM3 skin, maybe others that might have the same problem, can try and see if it helps. If not, well, I tried.
SlaveUnit
2009-02-23, 18:05
nevermind
bionic1234
2009-03-09, 07:19
I fixed my problem, not sure if it helps others or not but let us recapitulate what to do to make this work:
1) Place your weather fanart folders (00, 01, 02...) somewhere you like, ie: D:\Backdrops\Weather.
2) Open PM3.HD Home.xml and search for the "Skin.HasSetting(Home_Enable_Custom_Back_Weather)" string inside a "multiimage" control.
3) Add an <imagepath> tag with "D:\Backdrops\Weather\$INFO[Weather.FanartCode]" (without the quotes). And comment the <info> tag, this is what solved it for me. Save the file.
4) Open XBMC, go to skin settings and enable the custom weather backgrounds. There's not need to sepecify a folder here.
As an example, here's the default "multiimage" control on the PM3.HD default Home.xml file:
And here's the changes as explained above:
Note the bold lines...
This has worked for me :grin: I tried to understand what the <info> label does exactly but was not able too, but without it, it solved the problem for me.
Hopefully, this will help others having the same problem... What would be nice is to have proper support for this on the PM3.HD skin, without having the need to do manual changes to .xml files. This sucks because when we update XBMC, these changes will be overwritten :no:
Hey y'all, looking for a little support here, I have been racking my brain all day with this (first off my SVN is 17784 - I apologize if this is the issue but I have been having a hard time getting the SVN to update as of late)
Running PM3HD, and I tried the imagepath tag above with no luck, just no pictures at all when I scroll over the Weather button on the Home page.
I have tried numerous imagepaths within the tag and I have moved my Weather fanart folder around to try to find the correct path.
I am running Linux 7.10 Gutsy.
Examples of what I have tried (Home.xml file editing):
*placed the Weather folder in my generic Fanart folder
<imagepath>/home/xbmc/Fanart/Weather/$INFO[Weather.FanartCode]</imagepath>
*placed the Weather folder in my .xbmc folder
<imagepath>special://home/Weather/$INFO[Weather.FanartCode]</imagepath>
*placed the Weather folder in my skin/skin/media folder
<imagepath>Weather/$INFO[Weather.FanartCode]</imagepath>
I am using only one picture (that i know works) in all of the 40 directories (00,01,02, etc) within the Weather folder.
*And I have the enable Weather custom background checked off in the skin config menu
Thanks for any guidance that you can offer
I reported a week or two earilier about specific conditions not showing up in the weather pack.
Since then I have resized all images by 50% and installed the TWC Weather Supplemental plugin with the weather fanart enabled to the same folder.
I reported earilier that Light Drizzle was the condition that had no images appear. Today the same condition was up again and no images appeared again. I opened the weaher script and it also did not have images displaying for the fanart. At first I was starting to think it was my code in my home.xml, but if the weather script Nuka made also does not display that condiition, then I must assume it is a bug. I do not see this condition in the legend either for what each folder represents.
timdog82001
2009-03-09, 09:17
Then the list provided for the different weather conditions is probably incomplete. Somebody will have to figure out the icon numbers for the missing conditions
bionic1234
2009-03-09, 16:53
I'm actually using the same image (it is a bmp) in each and every folder 01 - 40 and all I see is black screen when I try the above imagepaths.
When I use this bmp simply as a static background image for weather it works fine (without the imagepath statement).
Unfortunately the imagepath statement is still confusing me in Linux/Ubuntu?
Then the list provided for the different weather conditions is probably incomplete. Somebody will have to figure out the icon numbers for the missing conditions
Had the same problem of missing pictures for certain weather conditions. But after changing the directory structure a bit, the problem seems to be solved.
The subdirectories should be:
0
1
2
3
4
5
6
7
8
9
10
11
etc..
So remove the '0' for the first ten conditions.
Hmm.. This seems interesting. I would like to use it, but I only use Aeon Stark now. Everything else seems old hat now that I have Aeon. Its just so beautimus :;): . Is there any way to get this to work with Aeon? I hope so. If there is could someone post some tips or point me in the right direction please?
Nazgulled
2009-04-17, 22:13
Hmm.. This seems interesting. I would like to use it, but I only use Aeon Stark now. Everything else seems old hat now that I have Aeon. Its just so beautimus :;): . Is there any way to get this to work with Aeon? I hope so. If there is could someone post some tips or point me in the right direction please?
There's a mod for this already, look in the Aeon board.
I'm a little confused on how to make this work with Aeon-Stark or maybe it doesn't work with stark. I'm running jaunty and have installed the Aeon latest pack. I have read to change the background.xml to make this work but I don't see one. Thanks for the help.
Gamester17
2009-05-05, 11:47
I'm a little confused on how to make this work with Aeon-Stark or maybe it doesn't work with stark. I'm running jaunty and have installed the Aeon latest pack. I have read to change the background.xml to make this work but I don't see one.Not looked at it myself but checkout this mod => http://xbmc.org/forum/showthread.php?t=48435
Hope that helps.
Can anyone help me to get this Weather conditions feature working for the newest svn Mediastream? I tried a few things but i'm still not a coder ;)
Baphomet
2009-06-01, 08:57
Can someone provide a listing of working T3CH SVNs for this feature?
I have been banging my head against a wall trying to get it installed and working for the last two and a half days when just an hour ago, I came across a posting in the AEON forum (http://xbmc.org/forum/showthread.php?t=51906) indicating that this isn't working in the latest release. I have no idea what constitutes "the latest release" (one can only assume this is meant to mean the 05/21/2009 release, but we all know what happens when we "assume" anything...) but I have been trying both on the 05/01/2009 and the 05/21/2009 T3CH releases as well as the 03/04/2009 SVN on AEON Lite, Aeon Auriga Lite 5 & 6, Horizonz4.1, Horizonz An Aeon mod, and Horizonz An Aeon mod4.1 and all have failed, miserably...
Am I that unlucky to have tried three non-working SVNs or am I missing something? ???
I have read the boards until my eyes bled, the wife continually scolding my uselessness and my children kicking me in the nutsack repeatedly out of sheer boredom. I have tried EVERYTHING I have found in the few various postings relating to the subject, both for Horizonz and any other skin, without ANY success...
I really want to get this working under Horizonz4.1 -- Can anyone who has successfully gotten this to work, preferably with Horizonz, offer some assistance? Please?:eek:
EDIT:
Even after Silverxxx attempted to offer his assistance with copy and paste code, I still can't get it to work. It seems like 'multiimage' isn't seeing the files within the 48 numerical directories (00,01,02,03... through 47) contained within the path named in the backgounds.xml. If any images exist within the actual path other than in the subdirectories, the fanart will display, but nothing within the numerical subdirectories is displayed. Is this a result of the T3CH build I'm using? Like I said, I've tried 05/21, 05/01 and 03/04 with no change...
jmadonald
2009-06-01, 14:35
Worked for me with the t3ch 5.21 release and minimeedia. Easy as setting the weather background folder in the skin settings. Make sure fanpack is downloaded properly.
Baphomet
2009-06-02, 00:34
@jamadonald
Are you running this on XBOX or another platform?
I'm not certain but I'm beginning to think that it's XBOX that has a hard time with recursive directories...
Anyone been able to get this to work on XBOX?
jmadonald
2009-06-05, 05:59
@jamadonald
Are you running this on XBOX or another platform?
I'm not certain but I'm beginning to think that it's XBOX that has a hard time with recursive directories...
Anyone been able to get this to work on XBOX?
Yes i have this running on the xbox with minimeedia. I am using the t3ch build from 5.21 . I may have modified the original weather images when i was trying to get mediastream stable. I'd like to use the original images with minimeedia since it uses so little mem. To get mediastram working i had to make changes to the home.xml with meedia all i had to do was set the weather background folder to the root of the weather directory... ie c:\images\weather . Within this folder i had the 00-47 folders.
Baphomet
2009-06-05, 11:22
Well, I'm happy to report that the clean install worked. I was soooo flippin happy -- I did a double take when I flipped my screen to the Weather tab and a background displayed. This is totalleh suhwheeet!!!
Anyway, when I first installed XBMC, I was running a PIMPED version and then reverted back to an old version of (8.10, I think) of a T3CH release... From there I had upgraded a few times over the course of the last few months... So as far as I can tell, something was locked up in the in the configs and/or settings from an older version and wasn't drilling down into the subdirectories (my guess is probably a release from the pre-updated-multiimage era).
But, ITS WORKING NOW!!!! WOOT!
Anyway, thanks to all who tolerated my whining while I tried to work this out. Your assistance and tolerance was/is greatly appreciated. You guys rock!
THANKS!!!
jmadonald
2009-06-05, 16:25
Good job. When i do my upgrades i now use frostys boot cd so that i dont have to worry about locked files.
Mojolive
2009-08-12, 15:51
I am still getting this Script error Python Script failed.. I downloaded Hitcher-aeon-53c59dcb0bf269164186859cb2c50fb9f090f9c5.tar thought that might take care of it from a post eariler.. anyone help with this problem please.. can not get it to work.. thanks.
MediaStream Redux Mod has this built in, and i've just started using it. AWESOME. thank you