[mythtv-users] What can be controlled through a system event perl script?

Raymond Wagner raymond at wagnerrp.com
Tue Dec 13 09:10:27 UTC 2011


On 12/13/2011 00:46, Michael T. Dean wrote:
>    * DELETE_RECORDING<chanid>  <starttime>  FORGET

In that case, the following couple lines should do...


import sys
from MythTV import MythBE
if len(sys.argv) != 3:
     raise Exception('invalid input')
MythBE().getRecording(sys.argv[1], sys.argv[2]).delete(rerecord=True)


More information about the mythtv-users mailing list