Opened 15 years ago

Closed 15 years ago

#6879 closed enhancement (fixed)

Re-open ticket #4961: housekeeping wantToRun() too unreliable for mythfilldatabase on non-continously running master backends

Reported by: stefan.becker@… Owned by: stuartm
Priority: minor Milestone: unknown
Component: MythTV - Mythfilldatabase Version: head
Severity: medium Keywords: mythfilldatabase
Cc: Ticket locked: no

Description

[I'm unable to re-open the original ticket, feel free to close this one and move the comment to the original ticket #4961]

The committed change has a different semantic: nowIfPossible is only set TRUE if the mythbackend was started up automatically for a recording.

To illustrate: let's assume the machine wakes up daily at 6:00 to run mythfilldatabase, 6:00 falls into the mythfilldatabase time window and there are recordings scheduled for Wednesday & Friday

Original patch:

Sun : shutdown after previous recording ends
Mon 6:00: manual wakeup, mythfilldatabase
Tue 6:00: manual wakeup, mythfilldatabase
Wed 6:00: manual wakeup, mythfilldatabase
Wed 21:00: auto wakeup, next recording
Thu 6:00: manual wakeup, mythfilldatabase
Fri 6:00: manual wakeup, mythfilldatabase
Fri 18:00: auto wakeup, next recording
Sat 6:00: manual wakeup, mythfilldatabase
...

Committed patch:

Sun : shutdown after previous recording ends
Mon 6:00: manual wakeup
Tue 6:00: manual wakeup
Wed 6:00: manual wakeup
Wed 21:00: auto wakeup, mythfilldatabase & next recording
Thu 6:00: manual wakeup
Fri 6:00: manual wakeup
Fri 18:00: auto wakeup, mythfilldatabase & next recording
Sat 6:00: manual wakeup
...

This is certainly not what the user wants, because now mythfilldatabase is only executed if there is a recording scheduled.

Change History (1)

comment:1 Changed 15 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [21398]) Revert a modification I made to Stefan's patch in [21385]. If we only let mythfilldatabase run when the master backend is woken up automatically, then we may not run mythfilldatabase on days when there are no recordings if the backend is only powered on for a short time manually.

Closes #6879, and References #4961.

Note: See TracTickets for help on using tickets.