[mythtv-commits] mythtv commit: r23287 - in trunk/mythtv/bindings/python by wagnerrp
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Mon Jan 25 09:29:04 UTC 2010
Author: wagnerrp
Date: 2010-01-25 09:29:03 +0000 (Mon, 25 Jan 2010)
New Revision: 23287
Changeset: http://svn.mythtv.org/trac/changeset/23287
Added:
trunk/mythtv/bindings/python/MythTV/MythBase.py
trunk/mythtv/bindings/python/MythTV/MythData.py
trunk/mythtv/bindings/python/MythTV/MythFunc.py
trunk/mythtv/bindings/python/MythTV/MythStatic.py
Removed:
trunk/mythtv/bindings/python/MythTV/MythDB.py
trunk/mythtv/bindings/python/MythTV/MythLog.py
trunk/mythtv/bindings/python/MythTV/MythTV.py
trunk/mythtv/bindings/python/MythTV/MythVideo.py
Modified:
trunk/mythtv/bindings/python/MythTV/__init__.py
trunk/mythtv/bindings/python/setup.py
Log:
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.
More information about the mythtv-commits
mailing list