[mythtv-users] How to disable AutoExpire

michael hupp mh.lightning9 at gmail.com
Fri May 29 14:14:59 UTC 2009

Well, I wouldn't say I am absolutely sure I know what I am doing...at least,
not yet. I know what I am doing in the sense that I am a CS with many years
of experience but last night was the first time I ever looked at the
mythbackend code.

I started poking around and commented out the ExpireLiveTV call. That helped
a lot. I also was able to increase my expire freq to 720 minutes but there
are still UpdateDontExpireSet() calls going on much more frequently.
Coincidentally, while in the shower this morning, I was thinking I would
start looking through the code to see if there is a switch to disable the
AutoExire object all together and then saw your reply.

As for the rest of you cautions...understood. This is definitely not a
production environment and I am absolutely sure I know I don't have a
capture card in my Kurobox. Therefore, I can't possibly record anything so I
couldn't possibly need to ever expire anything. I will try the
--noautoexpire switch and let you know if I get any null pointer exceptions.


On Fri, May 29, 2009 at 4:42 AM, Chris Pinkham <cpinkham at bc2va.org> wrote:

> * On Thu May 28, 2009 at 06:11:14PM -0700, michael hupp wrote:
> > Anyhoo, can anybody out there please tell me how I can disable (or at
> least
> > back off the frequency of) the AutoExpire process?
> If you're absolutely sure you know what you're doing, then you can
> run mythbackend with the "--noautoexpire" option and the AutoExpire
> thread will not be started when mythbackend starts.  I use this option
> on my dev machine all the time and haven't seen any adverse affects,
> but it has not been tested long-term in a production environment.  Most
> places should be checking "if (expirer)" before trying to talk to the
> AutoExpirer, but there may be some places that slipped by.
> --
> Chris
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090529/c319e96e/attachment.htm>

More information about the mythtv-users mailing list