[mythtv-commits] Ticket #6678: Additional functions for Python bindings

MythTV mythtv at cvs.mythtv.org
Mon Jun 29 09:42:33 UTC 2009


#6678: Additional functions for Python bindings
---------------------------------------------------+------------------------
 Reporter:  Raymond Wagner <raymond at wagnerrp.com>  |       Owner:  awithers
     Type:  enhancement                            |      Status:  new     
 Priority:  minor                                  |   Milestone:  0.22    
Component:  Bindings - Python                      |     Version:  head    
 Severity:  medium                                 |     Mlocked:  0       
---------------------------------------------------+------------------------
 MythDB.setSetting(value, data, hostname=None):
     Counter function to the existing MythDB.getSetting(). Will create new
 entry if setting does not already exist.

 MythDB.getCast(chanid, starttime, roles=None):
     Takes channel id and start time as integers, with an optional 'roles'
 to search for.  With no 'roles', will return a dictionary of tuples
 indexed by role.  When given a single string or tuple of strings, will
 return a tuple of all cast members matching those roles.

 MythTV.getRecording(chanid, starttime):
     Takes channel id and start time as integers, and implements
 'QUERY_RECORDING TIMESLOT'.  Will return a Program object.

 MythTV.getRecordings():
     Implements 'QUERY_RECORDINGS' and returns a list of Program objects.

 MythTV.getCheckfile(program):
     Takes a Program object and implements 'QUERY_CHECKFILE', returning the
 location of a recording in the file system.  This currently includes a
 bugfix where the command requires an additional two separators.

 Program.toString():
     Implements a 'toString' function to revert a Program object back to a
 string format usable by MythProto command calls.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6678>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list