chris.mason wrote:
> Seconded!
For the time being - for those of us who are impatient - I have fiddled
around all night and came up with this:
Find the file Plugins-WeatherTime-Plugin.par in your plugins directory
and use a program that handles zip files to extract it to a folder.
Inside the extracted zip - navigate to /lib/Weather/Wunderground.pm and
open it with a text editor (I recommend PSPad on Windows)
Find line 69
Code:
--------------------
my $CURRENT_QUERY_URI
--------------------
and change the url listed in there to
Code:
--------------------
http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=
--------------------
add line 70
Code:
--------------------
my $STATIC_WU_ID = "IDUNSGRE1";
--------------------
- change IDUNSGRE1 to the ID of the PWS you are interested in.
Make line 168 read as follows:
Code:
--------------------
my $currentlocation = $CURRENT_QUERY_URI . $STATIC_WU_ID;
--------------------
At this point - these are all the changes necessary - however if like me
- you require the displayed current temperature to be more like -6.6
instead of -7 you can edit the file /lib/Plugins/WeatherTime/Plugin.pm
at line 2219 to read as follows:
Code:
--------------------
$gxline1 = sprintf( '%-6.5s% .1fg%s',
--------------------
Finally rezip everything back up (making sure you preserve the directory
structure properly) - if the file gets the extension .zip rename it to
.par
Stop Squeezecenter and copy the file back to the plugins folder (note
you can rename the original .par file so you can always restore it if
you break it), dinally restart squeezecenter and you should have
something that looks a bit like....15281
+-------------------------------------------------------------------+
|Filename: 2013-11-06 01.29.26.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=15281|
+-------------------------------------------------------------------+
------------------------------------------------------------------------
nptohc's Profile: http://forums.slimdevices.com/member.php?userid=11719
View this thread: http://forums.slimdevices.com/showthread.php?t=21989
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins