[mythtv-users] MythWeather missing screens
Joe Ripley
vitaminjoe at gmail.com
Sat Mar 29 04:11:46 UTC 2008
On Fri, Mar 28, 2008 at 9:06 AM, Chuck Filson <mythtv at goodeid.com> wrote:
> I have tried GANT, Titivillus, Retro and Blue all with identical results.
>
> Is weather-screens.xml supposed to be read to find the available screens or
> is there another source for this list? From poking around in the code I have
> not been able to find any reference to this file other than in the makefile
> to install it to /usr/local/share/mythtv/mythweather. I have not found
> anywhere that it is being read.
>
> With gdb I have found that calls to get active and inactive screen lists both
> return NULL as though the available screens list has never been loaded. Could
> you point me to where those lists should be loaded?
Yes, the Inactive Screens list is populated directly from the
weather-ui.xml file. The file is used in the weatherSetup.cpp file,
in the ScreenSetup::loadData function:
http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweather/mythweather/weatherSetup.cpp#L391
On line 458, the code checks the XML for the 'container' keyword,
which defines the different Inactive Screen types.
http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythweather/mythweather/weatherSetup.cpp#L458
Since you said you did a fresh install (new database,
re-downloaded/re-compiled myth), I'm not sure what could be wrong...
--
Joe Ripley
vitaminjoe at gmail.com
More information about the mythtv-users
mailing list