<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 Mar 2020 at 00:27, Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@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">On 3/29/20 5:01 PM, Klaas de Waal wrote:<br>
<br>
.<br>
<br>
> Hi Bill,<br>
> <br>
> I got a hacked version of vcr.py now running in the way I want it.<br>
> What I do now is to start the recording with second accuracy instead of<br>
> minute accuracy by effectively removing the code that forces the seconds<br>
> field to be zero.<br>
> This is only in the code that uses UTC time when the specified time is in<br>
> the past. So I do specify a time in the past and that works OK.<br>
> I can now create a recording that starts immediately instead of on the next<br>
> minute and this then enables waiting a number of seconds before deleting.<br>
> I also hard-coded the delays for the time being.<br>
> A bit strange is that the backend has not yet crashed with all this<br>
> testing... but that is for another day.<br>
> <br>
> Thanks!<br>
> Klaas.<br>
<br>
I was reading the ticket a back on the 27th and noticed that deleting remotely was<br>
part of it: "The program is deleted from the frontend on a separate machine".<br>
<br>
Using the API, even remotely still sends the delete request to the backend. Don't<br>
know if that's important - just thought I'd mention it.<br>
<br><br></blockquote><div>The ticket describes the situation in which the records are deleted with the mythtfrontend GUI on a separated frontend machine. The mythtv-backend then crashes.</div><div>Since then I have been able to reproduce the problem on my development system which is a combined backend/frontend. Also here the recordings-in-progress are deleted via the GUI. </div><div>With the GUI I can now reproduce the problem with on average 5 deletes of a recording in progress, almost never more than 10.</div><div>I have now the script running, three in parallel, each script doing a start recording and a delete in about 25 second. This has been running for hours without making it crash. Somehow this is good of course but not what I wanted....</div><div><br></div><div>As I understand it mythfrontend communicates with mythbackend with the so-called mythprotocol, while the ServicesAPI is implemented as a HTTP webserver on the same mythbackend. This suggests that the frontend, via the mythprotocol, does something different than the ServicesAPI.</div><div>This definitely needs some thinking, it might even be necessary to understand what the code is actually doing.... which is usually not need to fix crashes. Just find the null pointer....</div><div><br></div><div>Thanks,</div><div>Klaas.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></div></div>