|
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 |
#21
|
||||
|
||||
I had a 1hr cache in the .Net one as well. However, I removed it since the weather (at least in my area) is prone to sudden change and it was nice to be able to jump in and see an update.
Can this be configurable somehow? |
#22
|
||||
|
||||
The 'cache' is the generated weather.txt file -- it is is not there, then it has to get new data, if it is there, then the timestamp is checked, so a very simple override is to delete the weather.txt file!
Perhaps you could add a 'refresh' button in the STV which deletes the weather.txt file before running getweather, or alternatively it could call getweather with an extra argument 'nocache' to force an update (obviously this would need an updated of all getweather programs to recognise this argument!) (the main reson for the cache was because I kept on scrolling to the right to see future forecasts, then scrolled too far back to the left, taking me accidentally back to the main menu, so if I wanted to go back to the weather, I had to wait for another download!)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#23
|
||||
|
||||
Sounds good. The caching in my version uses the created date of the Weather.txt file so a "Refresh" from Sage should work fine.
|
#24
|
|||
|
|||
Quote:
Tried the quotes. no good. Running XP. Maybe note, I'm doing this in client. |
#25
|
|||
|
|||
Quote:
|
#26
|
||||
|
||||
Quote:
Can you try running a command prompt, then cd to the STVs/OriginalV2/mlbdude directory (where the getweather3.class file is) and run: java getWeather3 java -cp . getWeather3 If you get 'java is not recognised as a command', then add the full path to the java.exe (eg "c:\program files\java\j2re1.4.2_03/bin/java.exe") If one of these works, you should get a help message from getWeather3 -- update the .bat file with the command line that works! |
#27
|
||||
|
||||
Quote:
A quick test shows that the relative font size (and the amount of weather info displayed) depends on the window height, but it changes in 'jumps', so in some resolutions, the fonts will be relatively larger, leading to cut-off... in 1024x768, I get everything shown, while in 800x600, I get some cut-off... In non-full screen mode, changing the width also helps... |
#28
|
|||
|
|||
Yeah, all of my 'precipitation' lines are cut off because the font is too big.
Also, there are no 'weather pictures' for certain forecasts (like isolated thunderstorms). I assume the picture just hasn't been made yet on those... Jason |
#29
|
||||
|
||||
Quote:
See this post: http://forums.sage.tv/forums/showthr...8321#post48321 (sorry, can't do much about the font size ) |
#30
|
|||
|
|||
Nielm:
Suggestion on the font size problem, as I have it to. Could you shorten "precipitation" to "precip."? That would leave room for the actual percentage for those of us with the font size problem... thanks! dan. |
#31
|
|||
|
|||
Also for the missing icons renaming the pictures in the weather folder fixes this for anyone curious.
|
#32
|
||||
|
||||
Quote:
Update -- version 1.1.2 / July 8
|
#33
|
|||
|
|||
Quote:
Using java -cp . getWeather3 worked. Thanks |
#34
|
|||
|
|||
All seems to be working except I receive no icon for "Isolated Thunder Storms".
|
#35
|
||||
|
||||
Icons are currently based on condition title. If you are missing one, copy one in the weather images directory to match that condition. The next version will work more integrated with the weather.com data but until then that is the only option.
|
#36
|
|||
|
|||
Nielm and mlbdude,
works beautifully - thanks for your efforts it is very much appreciated. I think I'll dump the weather forecast as a favourite now. Jan |
#37
|
||||
|
||||
Not sure why it took a reboot to make this work but it did.
Great job!
__________________
Server: Dual Tuner: PVR-150MCE/PVR-250MCE/SageTV v5.02/Asus Pundit-R 2.4GHZ/512MB DDR RAM/250 GB Maxtor HD (8MB Buffer) External Seagate 400GB HD via USB 2.0/Onboard ATI 9100 using SVIDEO TV-Out/Nvidia DVD decoder/Actisys 200L IR Blaster (Dish receiver) USBUIRT (DirectTV receiver)/Lite-On 4X DVD-R/RW/Windows XP Pro SP2/Adesso Mini IR Keyboard w/integrated mouse/Tivo "Peanut" Remote via USBUIRT/Dish Network Model 301/DirectTV subscriber/Webserver Plugin v2.8 |
#38
|
|||
|
|||
I can't get this to work for me at all. I have the .bat file setup so that it creates a correct weather.txt file. The problem I am having is that I cannot get the sage program to add a weather button on the main menu. I have added the code into the sage.prperties file and It stays in there when I close sage and look at it again. Am I missing something or...? thanks for any help
|
#39
|
|||
|
|||
You need to close sage completely first before editing the props file. Sage rewrites the properties file on close, so if you don't close it first....all your changes will get overwrriten. From what you said, it sounded like that was the problem.
If you have custom5 mapped on your remote, you can try that....just to verify you have the correct STV loaded. Custom5 in the MlbDude STV loads the weather module. You'll need the latest MlbDude STV to get the weather module running. http://forums.freytechnologies.com/f...&threadid=5755
__________________
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-11-2004 at 12:34 PM. |
#40
|
|||
|
|||
I have a Sage-customization-noobie (TM) question:
Can this mod work with the mlbdude combo-mod? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|