Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
#2883 closed defect (fixed)
Wakeup time set by mythbackend into BIOS ignore early/late record start
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | 0.20 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
I have tested it for two weeks and it works just fine. I have checked the log and all is good.
I am using 0.20-fixes
Yves