[mythtv] Very long recordings

Klaas de Waal klaas.de.waal at gmail.com
Thu Feb 11 11:23:23 UTC 2021


On Thu, 11 Feb 2021 at 11:31, Ian Campbell <ijc at hellion.org.uk> wrote:

> On Wed, 2021-02-10 at 16:45 -0500, David Hampton via mythtv-dev wrote:
> > On Wed, 2021-02-10 at 22:31 +0100, Klaas de Waal wrote:
> > > I have just now found a bit of suspicious code in tv_rec.cpp.
> > > This is the current code is this in tv_rec.cpp:159
> > >
> > >     m_overRecordSecNrml = gCoreContext-
> > > > GetDurSetting<std::chrono::minutes>("RecordOverTime");
> > >
> > > My production system has a value in the database of 1200 seconds.
> > > As I understand the code, the seconds value in the database is
> > > interpreted as minutes, which results in 72000 seconds record
> > > overtime.
> > > My development system has record overtime 0 so there it does not
> > > make
> > > a difference.
> > >
> > > This is in commit c2730942e325b393e589bb0b369c8e08bab3ea3c
> > >
> > > Have not tested this yet but hope this helps.
> >
> > That's definitely wrong.  Thanks for finding it.
>
> Is the line after it wrong too?
>
>  m_overRecordSecCat  =
> gCoreContext->GetDurSetting<std::chrono::minutes>("CategoryOverTime");
>
>
> That is the extra recording time that you can define for one category
only, e.g. "Movies" or so, and that one is actually defined in minutes.....
so that is OK.

Klaas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20210211/bbf18b71/attachment.htm>


More information about the mythtv-dev mailing list