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
  #41  
Old 07-12-2004, 07:59 AM
Brett Brett is offline
Sage Advanced User
 
Join Date: Jan 2004
Posts: 184
No, the weather module is not yet in that mod. They are working on ways to make plugins work so that this will not be a problem in the future.
Reply With Quote
  #42  
Old 07-15-2004, 11:18 AM
mls mls is offline
Sage Fanatic
 
Join Date: Jun 2004
Posts: 804
I noticed these 3 lines in the weather.txt file:

curr_recorded_at=
curr_updated=
curr_humidity=

Since there is a large empty space above "Data provided by..." in the mlbdude skin, I think it would be nice if this information could be added in that area somehow.

The data for my area sometimes comes from an airport 20 miles away, other times from one 60 miles away. So, it would be nice to now how close the info is to home.

Also, even if the getweather app retrieves a new file, the data providers only update the info periodically so it could be several hours old. So, it would be nice to know that also.

And, of course, the current humidity would seem logical to have displayed along with the current conditions, temp, and wind speed.

Could these 3 extra items be added to the display, or would it add too much to the complexity of working with other weather add-ins?
Reply With Quote
  #43  
Old 07-16-2004, 01:17 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
Is there a way with this mod to actually add a button to the main menu for the weather? Or will that be in a later version of Mlb's main script?

I have custom5 programmed on a button, but not having it on a menu you can see is a WAF killer for me...
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #44  
Old 07-16-2004, 01:20 PM
Coolwave Coolwave is offline
Sage User
 
Join Date: Nov 2003
Location: North Dakota
Posts: 54
All you need is these two lines in your properties files and Weather will show up on the main menu.

ui/main_menu_weather_enabled=true
ui/main_menu_weather_text=Weather
Reply With Quote
  #45  
Old 07-16-2004, 01:48 PM
dcannon dcannon is offline
Sage User
 
Join Date: May 2004
Location: Boston
Posts: 26
I created to new icons for use with MLBDude weather module. These are for the "Scattered T-Storms" and "Isolated T-Storms" description from the weather.com plug-in. The graphic is modeled from the graphics weater.com uses, but I used the style from the existing graphics.

On a side note, for the descriptions that contain illegal file name characters characters; can the code that displays the icons use a string compare to direct anything with for instance a "/" to use a different legal character instead, then just name the icon with the substitute character. Another way would to use a properties file that uses a string compare to link to a properties file entry, then a file could be titled anything, and could limit the number of repetitve images with different names.
Attached Files
File Type: zip 2 new weather icons.zip (57.3 KB, 306 views)
__________________
~Dan

*Go Red Sox*
Reply With Quote
  #46  
Old 07-16-2004, 01:58 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
Quote:
Originally posted by dcannon
I created to new icons for use with MLBDude weather module. These are for the "Scattered T-Storms" and "Isolated T-Storms" description from the weather.com plug-in. The graphic is modeled from the graphics weater.com uses, but I used the style from the existing graphics.

On a side note, for the descriptions that contain illegal file name characters characters; can the code that displays the icons use a string compare to direct anything with for instance a "/" to use a different legal character instead, then just name the icon with the substitute character. Another way would to use a properties file that uses a string compare to link to a properties file entry, then a file could be titled anything, and could limit the number of repetitve images with different names.
It is already doing this for that I believe (can't confirm till I get home). Look for an ~ in the existing icons. I think that will turn into a /.
Reply With Quote
  #47  
Old 07-16-2004, 02:09 PM
dcannon dcannon is offline
Sage User
 
Join Date: May 2004
Location: Boston
Posts: 26
I did see the ~, but I tried creating an icon for "Rain/Thunder" with a ~ instead, but it didn't display. The description may have spaces in it though. I will check it out and post back.

EDIT: The description did have spaces in it. I changed the file name of the icon. It didn't display though until Sage had been completely shut down, then restarted. Sleeping didn't make it appear. Thanks MLBDude
__________________
~Dan

*Go Red Sox*

Last edited by dcannon; 07-16-2004 at 02:15 PM.
Reply With Quote
  #48  
Old 07-16-2004, 02:12 PM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
I could also be replacing another character.
Reply With Quote
  #49  
Old 07-16-2004, 02:21 PM
dcannon dcannon is offline
Sage User
 
Join Date: May 2004
Location: Boston
Posts: 26
Another great implementation similar to weather.com would the use of the moon in the icons instead of the sun for "tonight" forecasts
__________________
~Dan

*Go Red Sox*
Reply With Quote
  #50  
Old 07-17-2004, 07:21 AM
wwright129 wwright129 is offline
Sage User
 
Join Date: May 2004
Location: Melbourne, Florida
Posts: 21
weather Module

hello, all

O.K so I have successfully run the getweather.bat file via command prompt and it generated the correct output file"weather.txt" So I know thats working. Then I shutdown sage and edited the properties file? I just cut and pasted the info from this thread and replaced the location with my zip. Then started sage but I do not see anything related to weather. So any thoughts on why.

Here is the appropriate part of the props file:


max_uptime=54261176
mlbdude/background=MlbDude\\default\\background.png
mlbdude/epg_selected_color=0xcccccc
mlbdude/epg_timeout=false
mlbdude/epg_title_color=0xffffcc
mlbdude/main_currently_recording=false
mlbdude/main_upcoming_recordings=false
mlbdude/mini_guide_look_ahead=true
mlbdude/osd_color_border=false
mlbdude/right_image_root=\\STVs\\OriginalV2\\MlbDude\\Default\\
mlbdude/selected_image=MlbDude\\default\\menu-selected.png
mlbdude/selected_menu_font_color=0xffffcc
mlbdude/show_menu_scroll_icons=true
mlbdude/weather_exe=\\STVs\\OriginalV2\\MlbDude\\getweather.bat
mlbdude/weather_exe_java=false
mlbdude/weather_file=\\STVs\\OriginalV2\\MlbDude\\Weather.txt
mlbdude/weather_provider=www.weather.com
mlbdude/weather_url=
mlbdude/weather_zip=<32909>
mmc/always_tune_channel=false


Thanks, wwright129
Reply With Quote
  #51  
Old 07-17-2004, 07:33 AM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
With Sage completely off, add this to your property file:

ui/main_menu_weather_enabled=true
ui/main_menu_weather_text=Weather
Reply With Quote
  #52  
Old 07-17-2004, 09:31 AM
wwright129 wwright129 is offline
Sage User
 
Join Date: May 2004
Location: Melbourne, Florida
Posts: 21
Thanks that worked.

One other thing, it's not updating automatically, I have to delete the weather.txt file and run the getweather.bat file manually, as sage does not grab it after I've deleted the weather.txt file? I just says retrieving data, but never retrieves it?

Thanks again, wwright129

Last edited by wwright129; 07-17-2004 at 05:02 PM.
Reply With Quote
  #53  
Old 07-17-2004, 09:58 PM
broderp's Avatar
broderp broderp is offline
Sage Expert
 
Join Date: Apr 2004
Posts: 510
Can this Module be made to work WITHOUT the entire skin upgrade?

I kinda like the OEM skin as is (Don't want all the added stuff yet from the skins) and the only thing missing is a weather module like myHTPC has.

Can a version of this be made to install separate from all other skins?
__________________
Raymond
RIP: P4 3.0Ghz, ASUS MB, 2G MEM, ATI 1300X AGP VIDEO, PVR-150MCE & PVR-500MCE, 1 TB HD

NEW: DELL OPTIPLEX 755, 4GB MEM, ATI DVIX (DUAL) VIDEO, PVR-1250MCE & PVR-500MCE, 1.3TB HDD's
Reply With Quote
  #54  
Old 07-18-2004, 05:57 AM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
The technology does not currently exist to make features available as "modules". You have to take all or nothing.
Reply With Quote
  #55  
Old 07-19-2004, 07:39 AM
broderp's Avatar
broderp broderp is offline
Sage Expert
 
Join Date: Apr 2004
Posts: 510
Quote:
Originally posted by mlbdude
The technology does not currently exist to make features available as "modules". You have to take all or nothing.
Symantics. Your skin is actually a "module" that contains tons of upgrades and cool features, but you could have just as easly made it with ONE solitare feature, say the MINI GUIDE, and nothing else.

All I really mean is that before anyone takes this awesome "module" and incorporate it into yours, MAL's, or OPUS4's (Maldude), they PLEASE make it work with the DEFAULT SAGE 2.0 SKIN that we get with SAGE 2.0 from the "box".

I think it would provide a nice "test" as well should issues arrise with other Skins, and not the OEM one. Kind of like a "control".

Or is what your saying is that this Weather module was created using your (or someone elses) skin, hence the need to have the skin already installed for this to work?
__________________
Raymond
RIP: P4 3.0Ghz, ASUS MB, 2G MEM, ATI 1300X AGP VIDEO, PVR-150MCE & PVR-500MCE, 1 TB HD

NEW: DELL OPTIPLEX 755, 4GB MEM, ATI DVIX (DUAL) VIDEO, PVR-1250MCE & PVR-500MCE, 1.3TB HDD's

Last edited by broderp; 07-19-2004 at 07:42 AM.
Reply With Quote
  #56  
Old 07-19-2004, 07:57 AM
mlbdude's Avatar
mlbdude mlbdude is offline
Moderator
 
Join Date: May 2003
Location: Melbourne, Florida
Posts: 4,174
I suppose you could create dozens of skins based on the default one with just one of the features in it. Maybe users will want two of the features so there are some more. It is extremely difficult to integrate a single menu into a core STV right now let alone keeping it up to date as bugs are fixed.

Once Frey updates the core to allow us to release individual Menu's as modules it will be more what you are looking for.
Reply With Quote
  #57  
Old 07-19-2004, 09:21 AM
ErsatzTom's Avatar
ErsatzTom ErsatzTom is offline
Sage Expert
 
Join Date: Dec 2003
Location: Southwest Florida
Posts: 712
Send a message via AIM to ErsatzTom
Relentless. Or maybe I should say RELENTLESS.

t
__________________
Thomas Micheline
duff@sage-community.org
http://www.sage-community.org/
Reply With Quote
  #58  
Old 07-20-2004, 10:52 AM
heirway heirway is offline
Sage User
 
Join Date: Jun 2004
Location: Dallas
Posts: 6
When I bring up the weather screen the Precip & Humidity display on the same line and do not line up properly. Does anyone know why this is happening?
__________________
My dedicated PVR system: SageTV v2.0/Emachine 2720 2.7 mhz Celeron, 512MB DDR RAM/250 GB Maxtor HD (8MB Buffer)/Hauppauge PVR 250/PCI Nvidia FX5200 w/ SVideo TV-Out/Sonic Cinemrk Encoder Pack/USB-UIR/4X DVD-R/RW/Windows XP Home/Adesso Mini IR Keyboard w/integrated mouse/Hauppauge Silver Remote/Linksys 802.11b USB Wireless Ethernet Adapter/Dish Network Subscriber Model 6000 & 811.
Reply With Quote
  #59  
Old 07-20-2004, 01:50 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
Thanks for the help guys, it's working 100% and it's on my main menu .
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #60  
Old 07-22-2004, 09:24 PM
McTurok McTurok is offline
Sage User
 
Join Date: Dec 2003
Posts: 70
Thanks for those Icons....

Quote:
Originally posted by dcannon
I created to new icons for use with MLBDude weather module. These are for the "Scattered T-Storms" and "Isolated T-Storms" description from the weather.com plug-in. The graphic is modeled from the graphics weater.com uses, but I used the style from the existing graphics.

On a side note, for the descriptions that contain illegal file name characters characters; can the code that displays the icons use a string compare to direct anything with for instance a "/" to use a different legal character instead, then just name the icon with the substitute character. Another way would to use a properties file that uses a string compare to link to a properties file entry, then a file could be titled anything, and could limit the number of repetitve images with different names.
Any idea where you all are getting those weather icons from? I'd like to see a source for them all and make some better ones.

I'm looking at three days in a row for "partly sunny" skies and the weather icon is just of the sun. Not quite accurate enough for me.

So I'd like to design a few better discriptive ones for myself and I will share them here when I've completed for others to use if they chose.

Thanks
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 07:31 PM.


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