[mythtv-users] Delete Oldest not working
Robert Dege
livemotion at gmail.com
Fri Oct 12 13:15:05 UTC 2012
Mike,
I checked for preserved episodes by running the following mysql command
(SELECT * FROM recorded WHERE preserve = 1 AND title="Sesame Street";).
Only one entry appeared, which I already knew about.
I looked at all of the episodes in the recorded table, but didn'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 "Delete Oldest"?
-Rob
On Thu, Oct 11, 2012 at 7:31 PM, Joseph Fry <joe at thefrys.com> wrote:
>
> I was able to resolve the "ERROR when trying to delete file" error by
>>>> creating an empty file in the Storage folder.
>>>>
>>>> As a test, I decided to start recording the news every night, and keep
>>>> only 5 episodes. This is also working correctly.
>>>>
>>>> Sesame Street is also working (somewhat). A maximum of 17 episodes are
>>>> kept, even though I have it setup to only keep a max of 15.
>>>>
>>>> So, for some reason or another, this "Delete oldest" issue appears to be
>>>> local to the Sesame street recording schedule. Are there any additional
>>>> parameters that could affect how mythtv determines if certain episodes
>>>> should be excluded from the "Delete oldest" list? I only have one
>>>> episode
>>>> set to preserved, so I'm not sure why 2 extra episodes are being kept.
>>>>
>>>> Are any of those episodes set to not expire? Are any the result of a
>>> different recording rule? Are any of them in a different storage group,
>>> like LiveTV?
>>>
>>> I don't know the logic used, but I know if I wrote it I wouldn't include
>>> non-expiring recordings against my total, and would exclude livetv so
>>> that
>>> someone who is scanning channels and lands on sesame street doesn't
>>> prevent
>>> it from recording the full episode at a later time.
>>>
>>
>> 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 "record new and delete oldest" limit, not "Allow auto-expire."
>> (Auto-expire is something that happens when the file system fills.
>> "Record new and delete oldest" occurs with not-full file systems.)
>>
>
> Thank you for correcting me... I didn't realize there was a separate flag
> for that.
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121012/244f6f12/attachment.html>
More information about the mythtv-users
mailing list