[mythtv-users] Is there an easy way to run script just after a recording finishes

Raymond Wagner raymond at wagnerrp.com
Mon May 30 15:25:51 UTC 2011


On 5/30/2011 11:09, MacLaren, James M wrote:
>
> I have my myth box connected to a directv box. Now, from time to time 
> the remote is pressed changing the channel mid recording.  There is a 
> code you can send (I have added it to directv.pl and it does work) 
> that prevents the box responding to remote/front panel key presses, 
> and one to unlock.  I would like to lock the box during the channel 
> change script it unlock it once the recording has finished.  Is there 
> an easy way to do this other than a script that would query the db 
> when the recording should finish and run the unlock then.  Any clever 
> ideas?
>

Use the System Events subsystem to trigger the calls on recording start/end.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110530/75a07e79/attachment.html 


More information about the mythtv-users mailing list