[mythtv-commits] Ticket #3834: Patches MythWeb Weather module to use new MythWeather-revamp sources

MythTV mythtv at cvs.mythtv.org
Tue Sep 25 23:31:14 UTC 2007


#3834: Patches MythWeb Weather module to use new MythWeather-revamp sources
-----------------------------------------------+----------------------------
 Reporter:  Joe Ripley <vitaminjoe at gmail.com>  |        Owner:  xris   
     Type:  enhancement                        |       Status:  new    
 Priority:  minor                              |    Milestone:  unknown
Component:  mythweb                            |      Version:  unknown
 Severity:  low                                |   Resolution:         
  Mlocked:  0                                  |  
-----------------------------------------------+----------------------------

Comment(by Joe Ripley <vitaminjoe at gmail.com>):

 True to form, I forgot one minor detail.

 Line 21 in mythplugins/mythweb/modules/weather/set_screen.php should
 reference 'weathersourcesettings' instead of 'weatherscreens'.  Here's a
 diff:

 {{{
 --- /usr/src/myth/mythplugins/mythweb/modules/weather/set_screen.php
 2007-09-25 17:08:46.428782000 -0600
 +++ ./set_screen.php    2007-09-25 17:26:04.243923748 -0600
 @@ -16,9 +16,8 @@
      require_once 'includes/objects/WeatherScreen.php';

  // Load all of the known mythtv frontend hosts
 -    $Settings_Hosts = array('' => t('MythWeb Session'));
      $sh = $db->query('SELECT DISTINCT hostname
 -                      FROM weatherscreens
 +                      FROM weathersourcesettings
                        ORDER BY hostname');
      while (list($host) = $sh->fetch_row()) {
          if (empty($host))

 }}}

 Sorry about that... I can re-attach the patch with this diff applied if
 required.

 --
 Joe Ripley
 vitaminjoe at gmail.com

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3834#comment:7>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list