[mythtv] [PATCH] optionally re-record auto-expired programs
Joel Anderson
bitjunkie at gmail.com
Fri Apr 1 17:45:49 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
>
Sorry, I stupidly jumped the gun on that one. I now tested it like this:
if (!gContext->GetSetting("RerecordAutoExpired", 0))
and it now for me it does as the checkbox in the settings screen states.
I can do a diff against cvs and send it if that is required.
Regards,
--
Joel
More information about the mythtv-dev
mailing list