[mythtv-commits] Ticket #2883: Wakeup time set by mythbackend into BIOS ignore early/late record start
MythTV
mythtv at cvs.mythtv.org
Sun Jan 7 16:41:28 UTC 2007
#2883: Wakeup time set by mythbackend into BIOS ignore early/late record start
----------------------------------------+-----------------------------------
Reporter: michele.sardo at katamail.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium |
----------------------------------------+-----------------------------------
When mythbackend decide to shutdown a mythtv box and program the RTC alarm
to switch on the box for a scheduled recording, the time set in the BIOS
RTC alarm takes into account the beginning of the program scheduled to be
recorded, but ignores the offset(early/late) added by the user.
My experiments shows that this changes in the file
mythtv-0.20/programs/mythbackend/scheduler.cpp
#ifdef ORIGINAL_CODE
QDateTime restarttime = nextRecording->startts.addSecs((-1) *
prerollseconds);
#else
/* Fixed code */
QDateTime restarttime = nextRecording->recstartts.addSecs((-1) *
prerollseconds);
#endif
fixes the problems, but I'm not entirely sure it is the correct fix.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2883>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list