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

Michael T. Dean mtdean at thirdcontact.com
Tue May 31 00:22:39 UTC 2011


On 05/30/2011 11:25 AM, Raymond Wagner wrote:
> 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.

http://www.mythtv.org/wiki/MythTV_System_Events

and when you finish the script:

http://www.mythtv.org/wiki/Category:MythTV_System_Event_Scripts

Thanks,
Mike


More information about the mythtv-users mailing list