[mythtv-commits] Ticket #6879: Re-open ticket #4961: housekeeping wantToRun() too unreliable for mythfilldatabase on non-continously running master backends

MythTV mythtv at cvs.mythtv.org
Fri Aug 21 05:24:29 UTC 2009


#6879: Re-open ticket #4961: housekeeping wantToRun() too unreliable for
mythfilldatabase on non-continously running master backends
---------------------------------------+------------------------------------
 Reporter:  stefan.becker at nokia.com    |       Owner:  stuartm
     Type:  enhancement                |      Status:  new    
 Priority:  minor                      |   Milestone:  unknown
Component:  MythTV - Mythfilldatabase  |     Version:  head   
 Severity:  medium                     |     Mlocked:  0      
---------------------------------------+------------------------------------
 [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.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6879>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list