[mythtv-commits] Ticket #7264: Rewrite of Python Bindings

MythTV mythtv at cvs.mythtv.org
Wed Oct 14 19:41:36 UTC 2009


#7264: Rewrite of Python Bindings
---------------------------------------------------+------------------------
 Reporter:  Raymond Wagner <raymond at wagnerrp.com>  |        Owner:  awithers
     Type:  task                                   |       Status:  new     
 Priority:  minor                                  |    Milestone:  0.23    
Component:  Bindings - Python                      |      Version:  head    
 Severity:  low                                    |   Resolution:          
  Mlocked:  0                                      |  
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond at wagnerrp.com>):

 Above is an example of the direction I intend the rewrite to take.  The
 new bindings will make extensive use of subclassing, starting with the
 'ListData' class.  The class is intended to take a list of data, and store
 it against a pre-defined list of field names.  The resulting object can be
 used as a regular object with variables, or as a dictionary or list,
 depending on which the user feels makes most sense.

 Building off of these are DBData, and DBDataWrite, which are intended to
 make an easily accessible object for reading data from the database, and
 to allow writing data back and creating new entries, respectively.

 The Video object is the first major rewrite using this, moving most of the
 functionality out of the old MythVideo class, leaving only search
 functions and general management.

 It should be understood that 0.23 is expected to include a internal
 rewrite, and partial merging of recordings and videos.  As such, the
 posted demo should be taken as the direction I intend to go with the
 rewrite, rather than any indication of what the final product will look
 like.

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


More information about the mythtv-commits mailing list