[mythtv-commits] Ticket #11525: program category clean up

MythTV noreply at mythtv.org
Sat May 4 14:50:27 UTC 2013


#11525: program category clean up
-------------------------+----------------------------------
 Reporter:  rwscott@…    |           Type:  Patch - Feature
   Status:  new          |       Priority:  minor
Milestone:  unknown      |      Component:  MythTV - General
  Version:  Master Head  |       Severity:  medium
 Keywords:               |  Ticket locked:  0
-------------------------+----------------------------------
 Go one step farther to prevent mistakes such as invalid values being
 stored and used.

 The original patch, bff155970773, changed the category type from a string
 to an enum to help avoid mistakes in the future. It however meant that a
 couple of string arrays, and some static int's (added later to fix the
 fix),
 _must_ be kept in sync. This just changes the type of future mistakes.
 This defines the category type in one place only.

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


More information about the mythtv-commits mailing list