[mythtv-commits] mythtv commit: r24316 by wagnerrp
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Apr 30 06:34:43 UTC 2010
Author: wagnerrp
Date: 2010-04-30 06:34:43 +0000 (Fri, 30 Apr 2010)
New Revision: 24316
Changeset: http://svn.mythtv.org/trac/changeset/24316
Modified:
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/__init__.py
Log:
Adds new System Event handler using the event handling routines. MythSystemEvent will register a handler for all currently available events, and run the respective command listed in the database. Class can be subclassed to provide custom internal handling of events. The 'systemeventhandler' decorator is available to provide regular expressions and processing, returning the event to the handler as a dictionary.
SystemEvent is a modified System class, providing custom handling of ecternal commands specified in the database for system events.
Program class now includes methods formatPath for handling mythlink.pl style formatting, and formatJob to handle that used by the jobqueue and system events.
More information about the mythtv-commits
mailing list