SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-13-2005, 08:04 PM
one918 one918 is offline
Sage User
 
Join Date: Jul 2005
Posts: 5
How do you edit the Weather.bat file?

Hey all, I'm currently building a PVR and testing the different software programs. I am leaning heavily toward Sage.

I have been playing around with the Cayar and SageMC STVs.

I configured the XML file and can access the weather suite ok, but I can seem to figure out how to edit the .bat file for using the local weather. When I type in the zip code, it just hangs.

Can someone please point me to or help me in editing the .bat weather file so I can get this thing working.

Thanks in advance

Last edited by one918; 07-14-2005 at 01:17 AM.
Reply With Quote
  #2  
Old 07-14-2005, 04:21 AM
motions motions is offline
Sage User
 
Join Date: May 2005
Posts: 27
You will need to open weatherconfig.xml in your SageTV dir. Not sure where your getting a .bat file.

Use notepad or an XML editor. The comments are very helpful in the file and explain a lot. Scroll down to locations, it should look something like this:

<locations>
<location
name="Tallahassee"
label="Tallahassee">
<weathersourceinfo id="USFL0479"/>
</location>

Edit the info as you need. The id can be a zip code or actual id. That should give you the local weather.
Reply With Quote
  #3  
Old 07-14-2005, 05:43 PM
one918 one918 is offline
Sage User
 
Join Date: Jul 2005
Posts: 5
Yeah, thats what I did, and it worked for the Weather Suite info. When I try and use "Local Weather" it says to type in my zip code. I do that, and it hangs on the "Loading" screen. I checked the Weather Suite docs and it says something about editing the .bat file and running a cmd line.

The weather suite works in Cayars, just not SageMC. Can someone post their weather.xml and what weather files they have and where, so I can compare?

Last edited by one918; 07-14-2005 at 09:30 PM.
Reply With Quote
  #4  
Old 07-14-2005, 11:30 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The Weather Suite (which uses the xml file as a config) does not exist in SageMC.

The Local Weather screen (which exists in Cayars and SageMC and is independant from the weather suite) is configurable with the zipcode by right-clicking the screen and entering it. If it is hanging on 'loading...' then it is most likely that the external program used to retrieve the weather info is failing...

Run the getweather.bat with your zip and weather.txt as arguments (getweather.bat 12345 weather.txt) to see what errors you get
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #5  
Old 07-15-2005, 09:32 AM
one918 one918 is offline
Sage User
 
Join Date: Jul 2005
Posts: 5
Thanks, so you are saying, with Cayars and SageMC, I don't even need the weather suite? I'll play around some more and see what happens

Last edited by one918; 07-15-2005 at 09:36 AM.
Reply With Quote
  #6  
Old 07-15-2005, 10:23 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
It's probably the case that nobody actually *needs* the Weather Report Suite, regardless of which STV they use .
Reply With Quote
  #7  
Old 07-15-2005, 12:11 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by one918
Thanks, so you are saying, with Cayars and SageMC, I don't even need the weather suite
? Not sure where you get that from...

Well what I was saying is that in Cayars STV, there are 2 independant weather screens with different config systems. (cayars combined lots of peoples work with his own in his STV). These are the very powerful 'Weather Report Suite' (by Salsbst -- configured using the xml file) and the 'Local Weather' screen (by mlbdude)

In Mlbdude's SageMC STV, there is only the 'Local weather' screen. Search the SageMC thread for ways of troubleshooting it.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #8  
Old 07-16-2005, 10:35 PM
one918 one918 is offline
Sage User
 
Join Date: Jul 2005
Posts: 5
Ok, I seem to have got both working for the weather conditions. There are images in Cayars for the Local Weather. The images in the Weather suite, however, are not showing.

Here are my Sage Properties.

mlbdude/weather_exe=\\STVs\\OriginalV2\\weather\\GetWeather.bat
mlbdude/weather_exe_java=false
mlbdude/weather_file=\\STVs\\OriginalV2\\weather\\Weather.txt
mlbdude/weather_image_root=\\STVs\\OriginalV2\\weather
mlbdude/weather_provider=www.weather.com
mlbdude/weather_url=http\://www.weather.com/xml/ext/
mlbdude/weather_zip=91354

I feel like I am missing a line referring to the "GetWeatherJava" file. I remember seeing someone's properties and there was a reference to the GetWeatherJava, I just can't find it again. If someone can post a copy of their Sage properties for the weather section, that might be helpful.

Thanks

Last edited by one918; 07-16-2005 at 10:38 PM.
Reply With Quote
  #9  
Old 07-17-2005, 02:45 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
al of those properties are for local weather... getweatther3 is also for local weather, and should appear in the properties...

the only WRS properties are related to the weatherconfig.xml file and startup options, which contains the location of the images (normally in a "weather.com icons" subdir of the SageTV directory)

Is it possible that you didn't download and install the 'corefiles' zipfile for Cayars STV that contains all the images?

In anycase the WRS images are available on the WRS's own zipfile
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 07-17-2005 at 02:56 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.