[mythtv] Notice: Python binding rewrite

Ian Barton lists at manor-farm.org
Fri Jan 1 10:56:07 UTC 2010

Raymond Wagner wrote:
> The Python bindings will be receiving a significant rewrite for 0.23, 
> which will break most if not all existing programs. Please see the 
> following links for more information.
> http://mythtv.org/wiki/User:Wagnerrp/Bindings
> http://mythtv.org/wiki/User:Wagnerrp/Bindings/0.23_Transition_Guide
> http://svn.mythtv.org/trac/ticket/7264
> If you have existing code using the bindings, look over the new bindings 
> on trac over the next few weeks.  Any questions, comments, feature 
> requests, now is the time to voice them.  A feature freeze is planned 
> for the end of the month, after which only bug fixes will be added.
> _______________________________________________

Hi Raymond,

This looks looks good, even though I will need to rewrite quite a few of 
my  programs:) I welcome the addition of proper logging,as ATM I use my 
own routine. Putting messages in the standard MythTV logs is much better.

ATM I have several routines that access the DB directly to get data, 
although they do actually use the MythDB class. One example is a routine 
to make a file name based on the recording's Title and date, but 
removing any possible illegal characters.

I think it might be useful to have something like a File Utilities 
Class, which allows users to get formatted filenames using a format 
string. There are probably several other file oriented functions which 
might be included in the class and would obviate the need for accessing 
the database directly?

What do you think?


More information about the mythtv-dev mailing list