[mythtv] Mythweather proposed patch - StuartM

Stuart Morgan stuart at tase.co.uk
Fri Jan 11 18:48:11 UTC 2008


On Friday 11 January 2008 04:41:01 Bill wrote:
> Anyway, the reason I am posting here is for feedback first, I don't want to
> raise a ticket if you have other intentions.  In particular could it be
> that commit 15097 (weather-screens.xml) is leading that direction??

In order to make theming mythweather easier I wanted to move the definition of 
screens out of the theme and into a separate file, weather-screens.xml. 
Combined with some changes I'll make as part of converting mythweather to use 
mythui this should reduce weather-ui.xml to a manageable size.

In your case, you'd need to define the items supported on your screen in 
weather-screens.xml and give it a new name. In the theme you can create a 
container with the same name and define the layout of these items. Not all 
the items in weather-screens.xml need to appear in the theme.

This change shouldn't affect your patch, which looks fine to me. I'll make 
more information and examples available once I've finished my planned 
changes.
-- 
Stuart Morgan


More information about the mythtv-dev mailing list