[mythtv-commits] Ticket #10746: Typo in programinfo.cpp affecting themes

MythTV noreply at mythtv.org
Wed May 23 01:37:15 UTC 2012


#10746: Typo in programinfo.cpp affecting themes
-------------------------+--------------------------------------
 Reporter:  mayfields@…  |           Type:  Bug Report - General
   Status:  new          |       Priority:  trivial
Milestone:  unknown      |      Component:  MythTV - General
  Version:  Master Head  |       Severity:  low
 Keywords:               |  Ticket locked:  0
-------------------------+--------------------------------------
 There is a typo in programinfo.cpp where recordinggroup is mis-spelled.
 The particular spelling (recordingggroup) only occurs once in the code
 base. This means themes have no data populated when including this field.
 A workaround is to alter theme but this is not ideal as most themes
 include this field spelled as recordinggroup.

 Present in master as well as 0.25-fixes.

 Patch as follows:

 {{{
 --- a/libs/libmyth/programinfo.cpp      2012-04-24 17:35:58.000000000
 +0930
 +++ b/libs/libmyth/programinfo.cpp      2012-05-23 09:28:28.282810582
 +0930
 @@ -1515,7 +1515,7 @@

      progMap["recpriority"] = recpriority;
      progMap["recpriority2"] = recpriority2;
 -    progMap["recordingggroup"] = (recgroup == "Default")
 +    progMap["recordinggroup"] = (recgroup == "Default")
                                              ? QObject::tr("Default") :
 recgroup;
      progMap["playgroup"] = playgroup;

 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10746>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list