[mythtv-commits] Ticket #7264: Rewrite of Python Bindings
MythTV
mythtv at cvs.mythtv.org
Mon Jan 25 09:29:04 UTC 2010
#7264: Rewrite of Python Bindings
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: wagnerrp
Type: task | Status: assigned
Priority: minor | Milestone: 0.23
Component: Bindings - Python | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------
Comment(by wagnerrp):
(In [23287]) Initial commit of updated Python bindings. refs #7264
The rewrite was based around object mapping of several data structures and
database tables into a structure more readily usable in Python. Also
included are:
Rewrite of database access:
Credentials can now be more easily specified while opening the
connection. Additionally, these credentials can easily be carried through
to all functions and classes that may use the database, allowing proper
use of alternate credentials from those found in the config.xml.
A basic UPNP implementation now allows the bindings to search for
available backends on the network, defaulting to a PIN of 0000, and
creating a config.xml upon receipt of credentials.
The database object now implements connection caching, so one set of
credentials will only open one connection to the database.
Rewrite of backend access:
The backend socket now also implements caching, reusing connections
wherever possible.
Logging rewrite:
The previous logging interface is replaced with one using bitwise
filtering similar to that found in the MythTV binaries. Verbosity level
follows the same rules, and defaults to 'important,general'.
Exceptions rewrite:
Errors continue to function as before, however several attributes have
been added to allow for additional filtering and handling.
Grabber interface:
A basic class for retrieving data from external commands is now
available, with customized forms for the MythVideo and MythNetVision
grabber formats.
Canned searches:
Several keyword-based searches are now available for recordings,
oldrecordings, jobs, guide data, and videos.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7264#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list