<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 25 Jan 2023 at 16:34, Jan Ceuleers <<a href="mailto:jan.ceuleers@gmail.com">jan.ceuleers@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The order I see is as follows:<br>
<br>
1. The recording-started event is triggered first, almost simultaneously<br>
with the mythexternalrecorder's tuner command (at "second 0").<br>
<br>
2. The recording-pending event is triggered next, at "second 5". So 5<br>
seconds after the recording has already started.<br></blockquote><div><br></div><div><div style="font-size:small" class="gmail_default">How are you observing this?</div></div><div><br></div><div><div style="font-size:small" class="gmail_default">I'd be tempted to set up a script for the recording_pending event that simply runs:</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">date >> /tmp/pending.log<br></div></div><div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">to see when and how many times it's called.</div></div><div><br></div><div><div style="font-size:small" class="gmail_default">I don't know if it's your use of mythexternalrecorder that makes any difference - I'm using IPTV. I'm also running 0.28 at the moment.</div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Do you know whether these timings are parameters that I may have<br>
misconfigured in the database? My database is quite old and has been<br>
upgraded many times over the 15+ years that it has been in use.<br></blockquote><div><br></div><div style="font-size:small" class="gmail_default">Not that I'm aware of.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Cheers, Ian</div><div style="font-size:small" class="gmail_default"></div></div></div>