Looks good. The xradar script doesn't work for my zip code, but all of the work you did is cool. Good job.
- xboxscene.org forums >
- OG Xbox Forums >
- Software Forums >
- XboxMediaCenter >
- XBMC Python Scripting Forum >
- How To: Add A Radar Button To "my Weather"
Pages: [1] 2
Author
Topic: How To: Add A Radar Button To "my Weather" (Read 297 times)
ClintiePoo
- Archived User
- Sr. Member

- Posts: 441
-
cashkid
- Archived User
- Newbie

- Posts: 33
-
Sound great spongy, I added buttons to mine as well it saves alot of time searching though the scripts and apps looking for them not mention it makes it look cool as hell
.
But I was just wondering how you got the Music Videos in My Music setup because I couldent get mine to work so I scrapt it.
I also need a play cd button in my music that I havent gotten to yet.
And a copy dvd botton in my videos.
By the way this is my programs section.
View icons
sort by mame
Xlink kia
Games
Game cheats [xored mini launcher for trainers]
Emulatores
programs
dvd game
game saves [gamesave manager]
download saves [gamesave downloader]
game copy [dvd to xbox]
I had to move the on screen display of music and videos to the top of the screen to make room for it though.
But I was just wondering how you got the Music Videos in My Music setup because I couldent get mine to work so I scrapt it.
I also need a play cd button in my music that I havent gotten to yet.
And a copy dvd botton in my videos.
By the way this is my programs section.
View icons
sort by mame
Xlink kia
Games
Game cheats [xored mini launcher for trainers]
Emulatores
programs
dvd game
game saves [gamesave manager]
download saves [gamesave downloader]
game copy [dvd to xbox]
I had to move the on screen display of music and videos to the top of the screen to make room for it though.
sp44
- Archived User
- Newbie

- Posts: 10
-
spongy
- Archived User
- Full Member

- Posts: 109
-
Well that's really a question you need to ask at weather.com. But... I believe they only cover highly populated areas.
grindar
- Archived User
- Newbie

- Posts: 20
-
Yeah, you'd think Mississippi State University would be covered, with its at least 16000 students plus the city of starkville, but no...
As an interesting note, according to the script, this is from noaa.gov . I wish I knew python so I could understand all of it.
No, apparently the actual data is from weather.com, as somebody suggested. What is wierd is these places both return data from their website for my zip, but not the radar script.
This post has been edited by grindar: Apr 16 2006, 07:39 PM
As an interesting note, according to the script, this is from noaa.gov . I wish I knew python so I could understand all of it.
No, apparently the actual data is from weather.com, as somebody suggested. What is wierd is these places both return data from their website for my zip, but not the radar script.
This post has been edited by grindar: Apr 16 2006, 07:39 PM
grindar
- Archived User
- Newbie

- Posts: 20
-
Can somebody give me a zip code they know works? And can someone please explain this snippet of code, taken from the script:
else:
webroot = r"http://www.weather.c.../travel/local/"
addr = webroot + zipcode
I know the else. I know how to set a string. Is the line with addr a string concatenation or something else. I'm trying to reverse engineer this so I know why it doesn't work for me.
I've tried three separate area codes from memphis, 3 that i've lived in, and 90210 for the hell of it. if they don't cover beverly hills, where do they cover?
else:
webroot = r"http://www.weather.c.../travel/local/"
addr = webroot + zipcode
I know the else. I know how to set a string. Is the line with addr a string concatenation or something else. I'm trying to reverse engineer this so I know why it doesn't work for me.
I've tried three separate area codes from memphis, 3 that i've lived in, and 90210 for the hell of it. if they don't cover beverly hills, where do they cover?
sp44
- Archived User
- Newbie

- Posts: 10
-
Affini
- Archived User
- Jr. Member

- Posts: 61
-
Spongy's code is for an older version of XBMC. Below I've posted the entire XML for the current release of XBMC (uses v2.0 of the skinning engine), animations and all.
btw... if you've mod'd your skins and you have not updated to a recent version of XBMC, you are in for some changes... I suggest you start read'n there are a lot of changes!
MyWeather.xml for current XBMC versions
I'm changed the Xradar script images to be a bit 'nicer', IMO, and match PM3 better. Just DL this ZIP and uncompress into the Xradar\pics folder.
Xradar pics to match PM3
Spongy... where in AZ are you? I'm in Chandler.
btw... if you've mod'd your skins and you have not updated to a recent version of XBMC, you are in for some changes... I suggest you start read'n there are a lot of changes!
MyWeather.xml for current XBMC versions
I'm changed the Xradar script images to be a bit 'nicer', IMO, and match PM3 better. Just DL this ZIP and uncompress into the Xradar\pics folder.
Xradar pics to match PM3
Spongy... where in AZ are you? I'm in Chandler.
grindar
- Archived User
- Newbie

- Posts: 20
-
I'm just using the standard build from the 12th, plus the scripts i've downloaded. I tried patching in the xml in the skins folder and I went ahead and put the pics in the folder for the hell of it. Still no luck. I didn't even get his zip code working.
nuka1195
- Archived User
- Sr. Member

- Posts: 290
-
There were a few changes needed for the radar script to work. I don't know if the updated script was posted on xbmcscripts.com or not.
Is that where you downloaded it from?
Is anybody who is having trouble running the script, trying it from the scripts window. You may need to run it first from the scripts window to set the zipcode. Then after that it should run fine from the weather window.
This post has been edited by nuka1195: Apr 17 2006, 03:08 PM
Is that where you downloaded it from?
Is anybody who is having trouble running the script, trying it from the scripts window. You may need to run it first from the scripts window to set the zipcode. Then after that it should run fine from the weather window.
This post has been edited by nuka1195: Apr 17 2006, 03:08 PM
spongy
- Archived User
- Full Member

- Posts: 109
-
Spongy's code is for an older version of XBMC. Below I've posted the entire XML for the current release of XBMC (uses v2.0 of the skinning engine), animations and all.
Spongy... where in AZ are you? I'm in Chandler.
I haven't compiled since the 28th of march. I noticed people talking about the animations shortly after.
thanks for the new images I'll try it out soon as I make a new build.
I'm in Glendale. A mile from the new stadiums.
Affini
- Archived User
- Jr. Member

- Posts: 61
-
you should really update to a current build... the new stuff is nice.
Since you are close we may be able to do some trading (software, etc).
PM me...
Since you are close we may be able to do some trading (software, etc).
PM me...
alexpoet
- Archived User
- Newbie

- Posts: 12
-
Nice! I like the button.
I'm the script author, btw, and just getting back into it after about three years off. Real life, an' all that....
In response to questions upthread:
I originally tried to get the images from NOAA. They have a more reliable database and much simpler searching, but they provided GIFs in a format that, for some reason, just would not display on XBMC. That was three years ago, though, and there's a chance one or the other of them may work now. The comment in the script, though, comes from the fact that I switched sources mid-development, and didn't fix all my comments.
Currently, all images come from Weather.com, which is incredibly unreliable and inconsistent in directory structure and naming. Probably intentional, to prevent things just like this.
The snippet of code quoted was just a string concatenation, that took the root of the URL and added the 5-digit zip code to the end of it.
I'm the script author, btw, and just getting back into it after about three years off. Real life, an' all that....
In response to questions upthread:
I originally tried to get the images from NOAA. They have a more reliable database and much simpler searching, but they provided GIFs in a format that, for some reason, just would not display on XBMC. That was three years ago, though, and there's a chance one or the other of them may work now. The comment in the script, though, comes from the fact that I switched sources mid-development, and didn't fix all my comments.
Currently, all images come from Weather.com, which is incredibly unreliable and inconsistent in directory structure and naming. Probably intentional, to prevent things just like this.
The snippet of code quoted was just a string concatenation, that took the root of the URL and added the 5-digit zip code to the end of it.
Pages: [1] 2
- xboxscene.org forums >
- OG Xbox Forums >
- Software Forums >
- XboxMediaCenter >
- XBMC Python Scripting Forum >
- How To: Add A Radar Button To "my Weather"






Logged

