Mike,<br><br>I checked for preserved episodes by running the following mysql command (SELECT * FROM recorded WHERE preserve = 1 AND title=&quot;Sesame Street&quot;;).  Only one entry appeared, which I already knew about.<br>

<br>I looked at all of the episodes in the recorded table, but didn&#39;t see anything out of the ordinary in regards to storagegroup, playgroup, or profile.  I did notice that one episode has a 0 entry for season, episode, and recordid.  Could any of those entries affect the &quot;Delete Oldest&quot;?<br>

<br>-Rob<br><br><br><br><div class="gmail_quote">On Thu, Oct 11, 2012 at 7:31 PM, Joseph Fry <span dir="ltr">&lt;<a href="mailto:joe@thefrys.com" target="_blank">joe@thefrys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was able to resolve the &quot;ERROR when trying to delete file&quot; error by<br>
creating an empty file in the Storage folder.<br>
<br>
As a test, I decided to start recording the news every night, and keep<br>
only 5 episodes.  This is also working correctly.<br>
<br>
Sesame Street is also working (somewhat).  A maximum of 17 episodes are<br>
kept, even though I have it setup to only keep a max of 15.<br>
<br>
So, for some reason or another, this &quot;Delete oldest&quot; issue appears to be<br>
local to the Sesame street recording schedule.  Are there any additional<br>
parameters that could affect how mythtv determines if certain episodes<br>
should be excluded from the &quot;Delete oldest&quot; list?  I only have one episode<br>
set to preserved, so I&#39;m not sure why 2 extra episodes are being kept.<br>
<br>
</blockquote>
Are any of those episodes set to not expire?  Are any the result of a<br>
different recording rule?  Are any of them in a different storage group,<br>
like LiveTV?<br>
<br>
I don&#39;t know the logic used, but I know if I wrote it I wouldn&#39;t include<br>
non-expiring recordings against my total, and would exclude livetv so that<br>
someone who is scanning channels and lands on sesame street doesn&#39;t prevent<br>
it from recording the full episode at a later time.<br>
</blockquote>
<br></div></div>
Actually, he needs to check if Preserve is set on any of the Sesame Street episodes.  Preserve is used to specify whether episodes count toward the &quot;record new and delete oldest&quot; limit, not &quot;Allow auto-expire.&quot;  (Auto-expire is something that happens when the file system fills.  &quot;Record new and delete oldest&quot; occurs with not-full file systems.)<br>



</blockquote><div><br></div></div><div>Thank you for correcting me... I didn&#39;t realize there was a separate flag for that.</div></div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>