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
  #101  
Old 08-16-2005, 04:21 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
What do you mean, "running WRS?" Is this an application? When I enable My Weather Suite in SageMC, and I click on it, I get the xml file not found. So I'm assuming that there just isn't an xml file at all. Could be that the STV you are using has a dummy xml file, and that's what you are talking about?

I'm pretty new to xml, so I'll have to read up on the WRS page.
Reply With Quote
  #102  
Old 08-17-2005, 07:04 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
I tried motions xml file, but got an error message. I think I need the Java extensions, and maybe the other Sage files on the WRS page. I'll probably load them tonight and see if it works after that.
Reply With Quote
  #103  
Old 08-18-2005, 06:58 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Installed the Java extensions, and the Sage additions last night. Now everything works, kind of.

When I first used it, I was playing Live TV, and there was a lot of frame/sound loss during the loading of the weather images. The next time I tried to use it, I shut down Live TV, and then went into the Weather Suite, and I kept getting a message asking me if I wanted to resume Live TV. No matter what I clicked, it would take me back to the main menu. If I selected weather again, same thing. Not sure if this is an STV issue, or something related to WRS.

Oh, and if it matters, I was using motions xml file as a test.
Reply With Quote
  #104  
Old 08-18-2005, 08:31 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Quote:
Originally Posted by geogecko
Installed the Java extensions, and the Sage additions last night. Now everything works, kind of.

When I first used it, I was playing Live TV, and there was a lot of frame/sound loss during the loading of the weather images.
Are you using SageClient to connect to a remote server?

Quote:
The next time I tried to use it, I shut down Live TV, and then went into the Weather Suite, and I kept getting a message asking me if I wanted to resume Live TV. No matter what I clicked, it would take me back to the main menu. If I selected weather again, same thing. Not sure if this is an STV issue, or something related to WRS.
That's a new one to me. It very well may be an STV issue.
Reply With Quote
  #105  
Old 08-18-2005, 12:07 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Nope, I just have one machine with Sage on it.

I've posted over in the STV thread as well, mlbdude is trying to reproduce it.

I need to try it again, may have been a fluke since it was the first reboot after I installed everything. I will probably give it a try tonight, if the wife isn't too interested in what is on TV...
Reply With Quote
  #106  
Old 08-18-2005, 12:19 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Salsbst,

This code snippet is from the traffic cams in my area. I'm having a hard time integrating it..... can you help?

<script language="JavaScript" src="imageupdates.js.php" type="text/javascript"></script>

</head>
<body bgcolor="#EFEFEF">
<map name="map_cameras">
</map>
<div id="RightWindow_Cam">
<div id="CamLocatForm">
<div id="text_1" align="left">&nbsp;
<span id="cameraLocation">I-95 at I-295 (Exit 84) &nbsp;</span>
<br/>&nbsp;
<span id="direction">Northbound &nbsp;</span>
</div>
</div>
<div id="CameraWindow" style="width: 352px; height: 240px; background: #EFEFEF;">
<img src="http://cam02.trafficland.com/trafficimage.php?system=vdot&webid=300001&pubtoken=3735743baa68c0db5d184f5a8cf3a7e2&random=2077833132" name="cameraWindow" width="352" height="240" border="0" onload="camLoaded()"/>
</div>
</div>
<script language='JavaScript' type='text/javascript'>viewCamera(300001,340,'I-95 at I-295 (Exit 84)','VDOT','Northbound');</script></html>



I see the src="http........ stuff. Can the WX suite handle javascript?

Stacy
Reply With Quote
  #107  
Old 08-18-2005, 07:51 PM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Seems to have been a fluke. After a fresh reboot, I don't have the problem I had before, EXCEPT...

When I stop Live TV, by going into detailed setup, and back to the main menu, I then click My Weather Suite, and a popup asks me what I want to do with live TV, resume, delete, or something else. But this time, when I click delete, I get back to the main menu, then click My Weather Suite again, and everything is fine.
__________________
-Jason
Reply With Quote
  #108  
Old 08-19-2005, 08:40 AM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by srothwell
Salsbst,

This code snippet is from the traffic cams in my area. I'm having a hard time integrating it..... can you help?

<script language="JavaScript" src="imageupdates.js.php" type="text/javascript"></script>

</head>
<body bgcolor="#EFEFEF">
<map name="map_cameras">
</map>
<div id="RightWindow_Cam">
<div id="CamLocatForm">
<div id="text_1" align="left">&nbsp;
<span id="cameraLocation">I-95 at I-295 (Exit 84) &nbsp;</span>
<br/>&nbsp;
<span id="direction">Northbound &nbsp;</span>
</div>
</div>
<div id="CameraWindow" style="width: 352px; height: 240px; background: #EFEFEF;">
<img src="http://cam02.trafficland.com/trafficimage.php?system=vdot&webid=300001&pubtoken=3735743baa68c0db5d184f5a8cf3a7e2&random=2077833132" name="cameraWindow" width="352" height="240" border="0" onload="camLoaded()"/>
</div>
</div>
<script language='JavaScript' type='text/javascript'>viewCamera(300001,340,'I-95 at I-295 (Exit 84)','VDOT','Northbound');</script></html>



I see the src="http........ stuff. Can the WX suite handle javascript?

Stacy
--BUMP--
Reply With Quote
  #109  
Old 08-19-2005, 09:42 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
No, WRS doesn't handle javascript. I took a very brief look at the trafficland site. They're purposefully making it difficult to fetch the images outside of their web site.

http://cam04.trafficland.com/traffic...20339195363903

It's the pubtoken thing that's the problem (unless they're reusable, which I haven't determined, yet).

In a future release of WRS (actually the rotan, i.e. rotating animated images, component), I may support scripting, such that you could write a script to get a token from their site.

But for now, I'm not sure you'll be able to use them.
Reply With Quote
  #110  
Old 08-19-2005, 09:49 AM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Does anyone have a config for the UK?

I did use WRS a while ago, now it works with SageMC I am using it again but my config seems to be out of date in terms of getting UK radar images etc.
Reply With Quote
  #111  
Old 08-19-2005, 10:52 AM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Quote:
Originally Posted by salsbst
No, WRS doesn't handle javascript. I took a very brief look at the trafficland site. They're purposefully making it difficult to fetch the images outside of their web site.

http://cam04.trafficland.com/traffic...20339195363903

It's the pubtoken thing that's the problem (unless they're reusable, which I haven't determined, yet).

In a future release of WRS (actually the rotan, i.e. rotating animated images, component), I may support scripting, such that you could write a script to get a token from their site.

But for now, I'm not sure you'll be able to use them.
Thanks, Salsbst.

Does anyone know of a web page that shows lightning strikes on a map that can be used with WRS?
Reply With Quote
  #112  
Old 08-19-2005, 11:28 AM
geogecko geogecko is offline
Sage Icon
 
Join Date: Dec 2004
Location: North Oklahoma
Posts: 2,273
Here's a couple, don't know for sure if you can use them in WRS yet, I haven't gotten that far with it yet. You might be able to search around for your local area...

http://wwwa.accuweather.com/severe/s...=&amp;zipcode=

http://www.weather.com/maps/activity...from=mapofweek
__________________
-Jason
Reply With Quote
  #113  
Old 08-19-2005, 12:05 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Those should pose no trouble... anything on Accuweather and weather.com and NOAA.gov sites will probably be possible.
Reply With Quote
  #114  
Old 08-19-2005, 12:26 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Salsblst,

Another question.....

On the Cayars version of WRS, if you pressed the OPTION button, there was a selection that allowed you to quit WRS and re-load the definition file.

That seems to be gone with the import for V3.

Is there some kind of XML command we can enter into weatherconfig.xml that would allow us to set a "button" to do the same thing?

It seems like I'm always tinkering with weatherconfig.xml when the server is recording, so that means I can't shut it down to reload WRS file.

Thanks

Stacy
Reply With Quote
  #115  
Old 08-19-2005, 12:29 PM
sleonard's Avatar
sleonard sleonard is offline
Sage Icon
 
Join Date: Nov 2003
Posts: 1,506
I don't know if this helps anyone or not but I read today that weather.gov has started offering XML feeds.
Reply With Quote
  #116  
Old 08-19-2005, 12:31 PM
ukmgranger's Avatar
ukmgranger ukmgranger is offline
Sage Expert
 
Join Date: Apr 2004
Location: Derby England
Posts: 609
Quote:
Originally Posted by ukmgranger
Does anyone have a config for the UK?

I did use WRS a while ago, now it works with SageMC I am using it again but my config seems to be out of date in terms of getting UK radar images etc.
C'mon!

There must be some people in the UK using WRS?!?!?!?!
Reply With Quote
  #117  
Old 08-19-2005, 12:46 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Quote:
Originally Posted by sleonard
I don't know if this helps anyone or not but I read today that weather.gov has started offering XML feeds.
THis might allow us to get rid of the weather.com feed, which would probably remove any licensing concerns. Thanks for the heads up.

EDIT:... but it just reoccurred to me that it's probably US only, right?
Reply With Quote
  #118  
Old 08-19-2005, 12:50 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
I checked that site previously -- it looks like it is US only. So, while it might be a nice alternative, it doesn't seem to cover everything. (Oh - I see from the post edit, that that fact was noticed.)

- 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.
Reply With Quote
  #119  
Old 08-19-2005, 09:17 PM
nicktripp nicktripp is offline
Sage Advanced User
 
Join Date: Aug 2003
Location: Lynchburg, VA
Posts: 96
Weather Underground (www.wunderground.com) offers XML feeds and I think it covers more than the US as well. They seem pretty friendly to supporting projects like this. Might be worth a shot to check things over there.
__________________
--
nick
Reply With Quote
  #120  
Old 08-22-2005, 08:10 PM
srothwell's Avatar
srothwell srothwell is offline
Sage Icon
 
Join Date: Jul 2004
Location: Richmond, VA
Posts: 1,064
Anyone notice the yellow text over a nearly-impossible-to-read white shadow when looking at the forecast section with v3.0.7?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple (but effective) security for any STV Lester Jacobs SageTV Customizations 5 12-17-2010 03:21 PM
STV Import: Slim Player for SageMC (for SageTV 6.3+) Morgan111 SageMC Custom Interface 326 07-28-2010 06:54 AM
STV: Cayars17 Ultimate STV (Release 17 - Jan 18) Cayars SageTV Customizations 3664 12-13-2005 05:35 PM
STV: MalDude2 custom STV (V1.6 Feb 9) Opus4 SageTV Customizations 78 06-10-2005 08:54 PM


All times are GMT -6. The time now is 10:02 AM.


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