[mythtv] Scheduler needs table keys?

f-myth-users at media.mit.edu f-myth-users at media.mit.edu
Sun Jan 28 07:58:02 UTC 2007


    > Date: Sat, 27 Jan 2007 23:34:26 -0800
    > From: Bruce Markey <bjm at lvcm.com>

    > Note that there are all sorts of inequities here most importantly
    > that this is a full reschedule like starting the MBE or running
    > mfdb rather than a change to one rule which is more typical
    > during normal operation.

What sort of reschedule happens when recording ends or a deletion
occurs?  (I'm assuming it's the same in 0.18.1 and SVN, but my
experience is only 18.)  It looks to me (judging from my "-v all"
logs) that the scheduler does everything it can:

2007-01-27 19:05:00.074 Reschedule requested for id 0.
2007-01-27 19:05:00.074 15      QUERY_FREESPACE
2007-01-27 19:05:00.081 51      BACKEND_MESSAGE[]:[]DONE_RECORDING 1 2215[...
2007-01-27 19:05:00.082 PruneOldRecords...
2007-01-27 19:05:00.097 AddNewRecords...
2007-01-27 19:05:00.108  |-- Start DB Query...
2007-01-27 19:05:13.619 51      BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[...
2007-01-27 19:05:13.755  |-- 10945 results in 13.6466 sec. Processing...
2007-01-27 19:05:15.815  +-- Cleanup...
2007-01-27 19:05:15.817 Sort by time...
2007-01-27 19:05:15.843 PruneOverlaps...
2007-01-27 19:05:15.846 Sort by priority...
2007-01-27 19:05:15.872 BuildListMaps...
2007-01-27 19:05:15.878 SchedNewRecords...
2007-01-27 19:05:15.878 Scheduling:
[ . . . massive output . . .]
2007-01-27 19:05:16.615 Sort retrylist...
2007-01-27 19:05:16.615 MoveHigherRecords...
2007-01-27 19:05:16.615 Retrying:
[ . . . half a dozen lines . . . ]
2007-01-27 19:05:16.631 ClearListMaps...
2007-01-27 19:05:16.631 Sort by time...
2007-01-27 19:05:16.646 PruneRedundants...
[ . . . massive output . . .]
2007-01-27 19:05:16.803 Scheduled 1227 items in 16.6 = 0.00 match + 16.63 place
2007-01-27 19:05:16.809 scheduler: Scheduled items

It's these reschedules that are killing me, although I've also taken
to never actually modifying a schedule anywhere in Myth unless I'm
either not recording any streams or I'm recording a single stream and
that stream is currently recording a commercial.  Obviously, this
makes the whole endeavor stressy and ridiculous; I shouldn't have to
think this hard about it.  [Ditto w/when I delete things; JFS is fast
but the reschedule upon deletion trashes recordings in progress.]


More information about the mythtv-dev mailing list