[mythtv-commits] Ticket #4047: channel_icons.pl uses $Myth->load_channels(); iso $Myth->_load_channels();

MythTV mythtv at cvs.mythtv.org
Tue Oct 9 21:37:19 UTC 2007


#4047: channel_icons.pl uses $Myth->load_channels(); iso $Myth->_load_channels();
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |        Owner:  danielk
     Type:  defect       |       Status:  closed 
 Priority:  minor        |    Milestone:  unknown
Component:  channelscan  |      Version:  0.20.2 
 Severity:  medium       |   Resolution:  invalid
  Mlocked:  0            |  
-------------------------+--------------------------------------------------
Changes (by xris):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Please don't mix/match MythTV versions.  Things are expected to break when
 you do that.

 P.S.  underscore prefix is a common way to denote private/protected object
 methods (which perl has no other way to identify).  That method was not
 intended for public use, and thus it started with an underscore.  When I
 wrote the channel icon script in trunk, and realized that I needed a
 public method to load channels, the method got renamed.  Thus, both are
 correct.  You're using the wrong version of MythTV, and nothing outside of
 the perl bindings should have ever been using the underscore version of
 the method name.

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


More information about the mythtv-commits mailing list