[mythtv] Autoexpire doesn't remove LiveTV files

Adam Egger mythtv2005 at bdam.de
Wed Nov 23 07:15:01 EST 2005


On 11/22/05, Chris Pinkham <cpinkham at bc2va.org> wrote:
> > The new autoexpire method doesn't work for the LiveTV recordings on my
> > system. I have  tons of tiny files in my recording list marked with an
> > RIP symbol now.
>
> Doesn't sound like you're running current SVN.

I'm updating on a daily basis, so the revision I'm using now is now ~ 8000.

> > My autoexpire is turned off globally because I absolutely don't want
> > myth to remove any recorded files, because everything I record I
> > really want to keep. Now I turned Autoexpire to on but the small files
> > still don't disappear.
>
> How did you turn it On/Off since that setting went away in database schema
> update 1105 in Changeset 7863?
>
>         http://cvs.mythtv.org/trac/changeset/7863

Ok, I just didn't set autoexpire to "On" expicitly, so I assume it was
automatically set to On in [7863]. I switched from "oldest first" to
"lowest recording priority" but it still doesn't remove anything.

> > I've started the backend with -v file, now it shows me that the "Do
> > not autoexpire" list is growing:
>
> And it may a little while you're watching LiveTV, but yours looks weird.
> The do not expire list contains items from the inuseprograms table which is
> cleaned up automatically whenever a NuppelVideoPlayer exits or a recorder
> finishes.  Were you killing and restarting the backend or anything?  The
> cleanup of stray entries in this table`happens once a day in the
> housekeeper.

I stopped my backend quite often yesterday to check if a BE restart
removes the recorded files. But really nothing helps, I have more than
one hundred LiveTV entries in my recording list now (all of them are <
1 minute).

> Long LiveTV recordings (ie, > 1 minute long) will expire the same as normal
> programs but htey have their autoexpire field set to 10000 which causes
> LiveTV recordings to expire before normal recordings.

Does a manual switch from LiveTV to another recording group on a
specific recording reset the high autoexpire value as well?

System data:
Debian32 sid
Kernel 2.6.14
reiserfs 3.6
MythTV from SVN - Revision 8000
Using DVB-t in Germany with b2c2_flexcop_pci / skystar2

Adam


More information about the mythtv-dev mailing list