Opened 9 years ago

Closed 9 years ago

#8943 closed defect (Fixed)

Mythshutdown won't wake for daily period2 if before daily period1

Reported by: brandon.d.shields+mythtv@… Owned by: paulh
Priority: minor Milestone: 0.24
Component: MythTV - Mythwelcome & Mythshutdown Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If the second daily wakeup period is before the first daily wakeup period, mythshutdown will never set the machine to wake for the second daily wakeup period. I can see the problem lies in line 508: if (!dtNextDailyWakeup.isValid() && dtPeriod2Start != dtPeriod2End).

Counter to this, the shutdown check will happily return a status of "in daily wake up period" for both periods.

Change History (3)

comment:1 Changed 9 years ago by robertm

Owner: changed from Anduin Withers to paulh
Status: newassigned

comment:2 Changed 9 years ago by paulh

Milestone: unknown0.24
Status: assignedaccepted

comment:3 Changed 9 years ago by paulh

Resolution: Fixed
Status: acceptedclosed

(In [26742]) mythshutdown: Make sure we have the shutdown periods in the correct order before deciding when the next wakeup time should be.

Fixes #8943.

Note: See TracTickets for help on using tickets.