<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jul 17, 2014 at 2:07 AM, Paul Harrison <span dir="ltr">&lt;<a href="mailto:mythtv@sky.com" target="_blank">mythtv@sky.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

On 17/07/14 06:14, Karl Newman wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I just looked at it again. Mythweb appears at first glance to be doing the right thing (grep for forget_old in modules/tv). I seem to recall that it isn&#39;t just Delete + rerecord that has the problem--I think it&#39;s any &quot;forget old&quot; function in mythweb. Possibly the backend is not processing the FORGET_RECORDING command correctly? Or maybe mythweb is sending the wrong command (it&#39;s been deprecated, perhaps?) Not sure; I don&#39;t have the mythtv source handy to look into it.<br>


<br>
Karl<br>
<br>
</blockquote>
<br>
Looks like the frontend uses DELETE_RECORDING.<br>
<a href="http://www.mythtv.org/wiki/DELETE_RECORDING_%28Myth_Protocol%29" target="_blank">http://www.mythtv.org/wiki/<u></u>DELETE_RECORDING_%28Myth_<u></u>Protocol%29</a><br>
<br>
The code path is a bit convoluted but ultimately it ends up here:-<br>
<a href="https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmyth/remoteutil.cpp#n110" target="_blank">https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmyth/remoteutil.cpp#n110</a><br></blockquote><div><br></div>

<div>Thanks, Paul. Mythweb uses DELETE_RECORDING as well (and the recording is successfully deleted), but then follows it with FORGET_RECORDING. Looks like the code just needs to be changed to add the &quot;FORGET&quot; parameter to the DELETE_RECORDING command. So it looks like that should be an easy fix, but I don&#39;t see any replacement for FORGET_RECORDING, so the &quot;Forget Old&quot; button in mythweb won&#39;t work without deleting the recording. Not ideal.<br>

<br></div><div>Karl<br></div></div></div></div>