[mythtv-users] Events at the beginning of a recording

James B Huber jbhuber at judahnet.net
Tue Jan 24 18:24:59 UTC 2023


On Tue, 2023-01-24 at 18:59 +0100, Jan Ceuleers wrote:
> Hi.
> 
> I was wondering whether there is any more documentation about the
> recording pending and recording started events than is available on
> the
> wiki (which isn't very much).
> 
> I have read that the one envisaged uses of the recording pending
> event
> is for it to trigger e.g. a set-top box being woken up, but for that
> to
> be possible it would have to be triggered before the recording
> actually
> begins, and the beginning of the recording should also wait until the
> recording pending script returns.
> 
> On my backend I'm seeing the opposite: the recording started event
> occurs before the recording pending event, and it obviously doesn't
> wait
> for one event to be handled before the next-one begins.
> 
> So how is this actually meant to work?
> 
> Many thanks, Jan
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
I use both, pending gets called initially 1 minute BEFORE the show
starts and started gets call at start time.
Attached are my 2 scripts, since I have 2 different set-top boxes and
inputs it has to handle both.
mythtv_recording_pending.sh and mythtv_recording_started.sh

Don't know if attachments actually make to the mailing list and thru...

Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230124/87f8fb09/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv_recording_started.sh
Type: application/x-shellscript
Size: 1075 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230124/87f8fb09/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv_recording_pending.sh
Type: application/x-shellscript
Size: 3728 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230124/87f8fb09/attachment-0001.bin>


More information about the mythtv-users mailing list