[mythtv-commits] Ticket #3730: mythbackend ignores early record starts
MythTV
mythtv at cvs.mythtv.org
Sun Jul 15 14:00:54 UTC 2007
#3730: mythbackend ignores early record starts
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium | Mlocked: 0
-----------------------+----------------------------------------------------
If you schedule to record a program with a record start time that > 15
minutes earlier then the EPG start time, mythbackend will not record the
program.
This problem happens when the box is shutdown and it wakes up
automatically to record the program.
The file scheduler.cpp will check that current time is less that 15
minutes away than the recording start, otherwise will shutdown the box,
because it is idle.
The problem is that curtime is compared against startts (EPG start time)
and not recstarts (actual recrding start time).
My suggestion is to change the line 1223 from:
((curtime.secsTo((*startIter)->startts) -
prerollseconds)
to
((curtime.secsTo((*startIter)->recstartts) -
prerollseconds)
and the line 1420 from:
if (curtime.secsTo((*startIter)->startts) -
to:
if (curtime.secsTo((*startIter)->recstartts) -
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3730>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list