|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
MlbDude Weather Module -- Java Version
I wrote a java version of the weather extractor for those who do not have the .NET framework installed on their sage boxes...like me.
http://download.sage.tv/~mlbdude/GetWeatherJava.zip Extact the contents of the zip on your machine; I recommend extracting to the current location of the GetWeather.exe for simplicity. This should be where all the MlbDude STV pictures are... In your sage.properties file change the following line: //replace GetWeather.exe to GetWeatherJava.exe mlbdude/weather_exe=\\STVs\\MlbDude\\GetWeatherJava.exe ** If you experience any java errors when running, check your internet connection and also the java version you are running, you may need atleast 1.4. **
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess Last edited by Alex0230; 07-05-2004 at 11:41 AM. |
#2
|
||||
|
||||
Thanks so much Alex!
|
#3
|
|||
|
|||
NP....I'm happy to be able to give back. If there are any issues running this, just let me know.
I know there is one issue right know if you try to run the weather module when the exe resides on another computer. For example, I'm on my desktop machine (computerA) and I try to run the weather program from "\\sage\sagetv\getWeatherJava.exe", it returns an error code. However there is no problem running it locally on either machine. The error may be due to how the executable function and running it from a remote share like that may not be supported.
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
#4
|
||||
|
||||
Any comments on which is preferable, assuming both .Net and java are installed? (OK, so java has to be there for SageTV to work in the first place...)
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
I don't have the line in the properties file. Do I simply add it or am I getting into an area I shouldn't be playing in :-)
If I do add it, how do I access it during running the sage software? Thanks Stacy |
#7
|
||||
|
||||
The line won't appear by itself until you go to the Weather module. However, you can always add it yourself. Make sure Sage is COMPLETELY closed though.
|
#8
|
||||
|
||||
I took a look at weatherroom.com.
Any change we can find a way to get the radar integrated into Sage? The 4-day forecast is cool, but the radar would be awesome to have at the push of a remote button. Stacy |
#9
|
|||
|
|||
First big thanks to MlbDude for adding this really cool feature. I personally prefer a Java version as I've tried to resist installing .Net for a long time now. Nothing against MlbDude's approach as I can't code in Java or .Net so I have no right to complain either way. Very clever of MlbDude to use a method that would allow for such versatility. Big thanks to Alex for his Java version, coming out so fast.
Quote:
/justme Last edited by justme; 07-05-2004 at 03:12 PM. |
#10
|
||||
|
||||
Yeah, the map would be awsome.
__________________
Mike Janer SageTV HD300 Extender X2 Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5 |
#11
|
||||
|
||||
www.weather.com has nice radar maps images for the whole world...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#12
|
|||
|
|||
This was posted in a another thread:
----------------------------- Alex0230 That property came back and is set to false but I am still having trouble with your Weather module I can not get it to load in Sage if I manually run the getweatherjava.exe I get weather for Phoenix Arizona and then it will appear in Sage but for Phoenix I live in Coppell, Texas Is there something wrong with your weather module? ---------------------------------------------------------------------------- The usage for the program is as follows: PHP Code:
the default output_file is: Weather.txt This should explain why anyone of you are getting Phoenix data, it is because the url is not getting passed correctly. You are either running it manually without passing a url...or your sage.properties isn't setup correctly. mlbdude/weather_exe=\\STVs\\OriginalV\\MlbDude\\GetWeatherJava.exe mlbdude/weather_exe_java=false mlbdude/weather_file=\\STVs\\OriginalV2\\MlbDude\\Weather.txt mlbdude/weather_provider=www.weatherroom.com mlbdude/weather_url=http\://www.weatherroom.com/xml/ext/ mlbdude/weather_zip=85204
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess Last edited by Alex0230; 07-06-2004 at 06:52 PM. |
#13
|
|||
|
|||
ok for some reason I did not have this line correct
mlbdude/weather_exe=\\STVs\\OriginalV2\\MlbDude\\GetWeatherJava.exe it was mlbdude/weather_exe=\\STVs\\MlbDude\\GetWeatherJava.exe my bad I just trying to get it to work before I went to work Thanks it works great I hope someone does add onto this it would be nice to have more information |
#14
|
|||
|
|||
Glad that works out for you...
--------------------------------------------------------------------------------------- I hope someone does add onto this it would be nice to have more information --------------------------------------------------------------------------------------- I always thought an RSS feed for slashdot would be cool to have, then I wouldn't have to get up and get on the computer...
__________________
ECS K7VTA3 + AthlonXP2400XP+ = $70 250 GB 7200 RPM HD = $160 512 MB Kingston DDR 333 = $80 Hauppage 350 Bundle = $220 SageTv = PriceLess |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|