Posts: 2
Joined: Feb 2004
Reputation:
0
since i'm a uk lad, i'd like to see access to weather.co.uk as i can use my london postcode to get a specific london area weather response.
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
sure its possible, you have two options:
1) modify the c code for the weather window in guiwindowweather.cpp. you'll also need to modify the myweather.xml skin file to add your new button.
2) write a python script that displays your image and put a button on the myweather.xml file that calls the script
(i think python can only reference files on the hard drive, so you'll need to get the image ftp'ed up to your xbox via a cronjob as well)
hurtz
Unregistered
hurtz
Unregistered
Posts: N/A
ok, first problem, xbmc dosen't seem to have support for animated .gif's - is that correct? at least the one i tried (in the link i posted earlier) didn't work.
hurtz
hurtz
Unregistered
hurtz
Unregistered
Posts: N/A
haven't tested the script yet, but i want to add this to the my weather page. i'm on a standard 480i ntsc tv, and i only see 2 myweather.xml files, one is under 720p, and the other pal. i assume somehow one of these gets scaled to fit my screen, so which one would need to be modified?
from my test last night, viewing the .gif in my pictures did not animate. if the skin supports animated .gif's, i wonder if i can somehow add this to myweather as part of the skin?
hurtz
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
the "default" resolution of the skin is whats used to scale to other resolutions if there isnt a specific xml file in that resolutions directory. you can find the default resolution of the skin by opening up the xml file in the root of the skin directory. (i dont remember what its called. im at work now and cant check.) it's probably the pal file.
and the animated gif support isnt a skin specific thing. its built into the xbmc engine. but the skins use animated gifs as screen elements. for example, project mayhem has an animated giff that used as the up & down arrows in a spin control.
im not sure if my pictures shows animated gifs. if your gif doesnt show correctly, there may be an incompatibilty with this specific file.
hurtz
Unregistered
hurtz
Unregistered
Posts: N/A
gotcha. skin.xml says:
<defaultresolution>pal</defaultresolution>
i'll try another .gif and see if that works.
thanks,
hurtz
Posts: 3
Joined: Aug 2004
Reputation:
0
my request for it is to have an option in weather where you can stream a cam with a view of the city chosen or a city of choice.
this would be good for skiers, snowboarders, surfers, travelers and so on.
pleas dont remove the weather feature!!
to satisify all these people that dont want it on the main menu, you should place it in the pop-up menu on the yellow button.
Posts: 5,008
Joined: Sep 2003
Reputation:
30
pike
Team Kodi Admin
Posts: 5,008
seems like the builtin textures.xpr support is hardcoded to just work with skinfiles. would be great if it also could work with weather gfx, would speed up loading, transfer to xbox etc.. less clutter.
Posts: 483
Joined: Mar 2004
Reputation:
0
its nice to have a weather section, but id rather like to see skins using the info on the home screen without the need for a section.
Posts: 101
Joined: Dec 2004
Reputation:
0
i also agree with this, kinda like having desktop x on your xbox, start up your xbox, you have your menus, your rss feeds, and then in the bottom left corner (or wherever) you have your weather icon (just current) then you can go to it and click on it if you want the 5 day forcast. would also be nice if there was a stock section somewhere (does anyone know if there is a good rss feed for stocks?)