﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
6879	Re-open ticket #4961: housekeeping wantToRun() too unreliable for mythfilldatabase on non-continously running master backends	stefan.becker@…	stuartm	"[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[[BR]]
Mon  6:00: manual wakeup, mythfilldatabase[[BR]]
Tue  6:00: manual wakeup, mythfilldatabase[[BR]]
Wed  6:00: manual wakeup, mythfilldatabase[[BR]]
Wed 21:00: auto wakeup, next recording[[BR]]
Thu  6:00: manual wakeup, mythfilldatabase[[BR]]
Fri  6:00: manual wakeup, mythfilldatabase[[BR]]
Fri 18:00: auto wakeup, next recording[[BR]]
Sat  6:00: manual wakeup, mythfilldatabase[[BR]]
...[[BR]]

Committed patch:

Sun      : shutdown after previous recording ends[[BR]]
Mon  6:00: manual wakeup[[BR]]
Tue  6:00: manual wakeup[[BR]]
Wed  6:00: manual wakeup[[BR]]
Wed 21:00: auto wakeup, mythfilldatabase & next recording[[BR]]
Thu  6:00: manual wakeup[[BR]]
Fri  6:00: manual wakeup[[BR]]
Fri 18:00: auto wakeup, mythfilldatabase & next recording[[BR]]
Sat  6:00: manual wakeup[[BR]]
...[[BR]]

This is certainly not what the user wants, because now mythfilldatabase is only executed if there is a recording scheduled."	enhancement	closed	minor	unknown	MythTV - Mythfilldatabase	head	medium	fixed	mythfilldatabase		0
