[mythtv-commits] Ticket #3834: Patches MythWeb Weather module to use new MythWeather-revamp sources
MythTV
mythtv at cvs.mythtv.org
Mon Feb 11 22:40:06 UTC 2008
#3834: Patches MythWeb Weather module to use new MythWeather-revamp sources
-----------------------------------------------+----------------------------
Reporter: Joe Ripley <vitaminjoe at gmail.com> | Owner: kormoc
Type: enhancement | Status: closed
Priority: major | Milestone: 0.21
Component: mythweb | Version: head
Severity: low | Resolution: fixed
Mlocked: 0 |
-----------------------------------------------+----------------------------
Comment(by dbackeberg at gmail.com):
Yes please, I'd love to see a screenshot :)
The changeable animation rate sounds great.
Thanks so much for your work on this.
Replying to [ticket:3834 Joe Ripley <vitaminjoe at gmail.com>]:
> This patch can be applied to the current SVN trunk of mythweb (release
14200). It patches the module to use the new MythWeather plugin as a data
source. The patch itself is just a quick hack, and only applies to the
default template, not the lite. The functions of the MythWeather plugin
that I implemented are:
>
> {{{
> Current Conditions
> 3 Day Forecast
> 6 Day Forecast
> 18 Hour Forecast
> Animated Maps
> }}}
>
> I don't use the Static Maps or the Severe Weather Alerts, so I haven't
written them yet. The Animated Maps appear in MythWeb as animated JPEG
images. I accomplished this by using JavaScript to control the pictures.
It allows you to speed up/slow down the animation. I based the JavaScript
code from the code used on the Environment Canada website. Seems to work
well.
>
> The weather module stores its cached weather data in the 'cache_dir'
directory, so this must exist and be writable by the HTTP daemon for the
module to work.
>
> I can post a screen shot of the module in action if anyone wants to see
it.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3834#comment:17>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list