[mythtv-commits] Ticket #1906: Patch to add more unit conversion options to MythWeather.
MythTV
mythtv at cvs.mythtv.org
Thu Jun 1 12:17:40 UTC 2006
#1906: Patch to add more unit conversion options to MythWeather.
------------------------------------------------------+---------------------
Reporter: mythtv-dev at phipps-hutton.freeserve.co.uk | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythweather | Version:
Severity: medium |
------------------------------------------------------+---------------------
Here's a patch to add two more type of unit conversions to MythWeather.
They are:
* SI units except distance and speed in miles.
* SI units except distance and speed in nautical miles.
The patch is against version 0.19 but it applies to SVN head.
It introduces two new values in the settings database for SIUnits, namely
YES_MILES and YES_NAUTICAL, the existing values of YES and NO apply to the
original two options making this change compatible (i.e. an unpatched
MythWeather just does imperial units if these new values are in the
database).
The patch includes changes to the setting UI so that the change can be
made from the frontend.
I've tested it as much as possible and it seems to work OK. Hope you like
it.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1906>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list