[mythtv] [PATCH] optionally re-record auto-expired programs

Joel Anderson bitjunkie at gmail.com
Fri Apr 1 17:27:54 UTC 2005


> This is a version of a patch that I've been applying to mythtv since
> 0.11.  It adds an option in the Mythfrontend/Setup/TV/General settings
> which causes the backend to delete the oldrecorded entry for any show
> which is auto-expired due to lack of disk space.  (I don't think this
> effects the min/max episode expiry, but perhaps it does.)  The default
> is the current behavior, that is retain the oldrecorded entry.
> 

Just poking through some code and patches trying to learn a bit about
c++ and myth.  Please correct me if I'm wrong, but this feature seems
to do the opposite of the checkbox in the settings.

I believe
                if (gContext->GetSetting("RerecordAutoExpired", 0))
should be
                if (gContext->GetSetting("RerecordAutoExpired", 1))

Sorry if I'm wrong, still early in the learning curve.  :)

Regards,
-- 
Joel


More information about the mythtv-dev mailing list