[mythtv] Recordings are starting late

David Engel gigem at comcast.net
Sun Mar 14 22:57:32 EST 2004


On Sun, Mar 14, 2004 at 07:55:57PM -0600, Robert Kulagowski wrote:
> Sure; it'll I've got a few back to back recordings on Fox tonight.  What 
> specifically are you looking for?

On Sun, Mar 14, 2004 at 08:37:17PM -0600, Robert Kulagowski wrote:
> 2004-03-14 20:30:00 Found changes in the todo list.
> ...
> 2004-03-14 20:30:53 Scheduling:
> ...
> 2004-03-14 20:30:54 Started recording "Arrested Development" on channel: 

This is what I wanted to know -- when SchedNewRecords started.
Unfortunately, this doesn't shed anymore light on the problem.  Could
you please try again with the attached patch?  You don't need to use
"-v schedule".  This should hopefully give a better idea of where the
delay is occurring.

David
-- 
David Engel
gigem at comcast.net
-------------- next part --------------
--- scheduler.cpp.orig	2004-03-14 21:46:53.000000000 -0600
+++ scheduler.cpp	2004-03-14 21:51:46.000000000 -0600
@@ -221,26 +221,36 @@
     schedTime = QDateTime::currentDateTime();
 
     PruneOldRecords();
+    VERBOSE(VB_GENERAL, "after PruneOldRecords.");
     AddNewRecords();
+    VERBOSE(VB_GENERAL, "after AddNewRecords.");
 
     reclist.sort(comp_priority);
+    VERBOSE(VB_GENERAL, "after comp_priority.");
 
     BuildListMaps();
+    VERBOSE(VB_GENERAL, "after BuildListMaps.");
 
     SchedNewRecords();
+    VERBOSE(VB_GENERAL, "after SchedNewRecords.");
 
     if (schedMoveHigher)
     {
         retrylist.sort(comp_retry);
+        VERBOSE(VB_GENERAL, "after comp_retry.");
         MoveHigherRecords();
         retrylist.clear();
+        VERBOSE(VB_GENERAL, "after MoveHigherRecords.");
     }
 
     ClearListMaps();
+    VERBOSE(VB_GENERAL, "after ClearListMaps.");
 
     reclist.sort(comp_recstart);
+    VERBOSE(VB_GENERAL, "after comp_recstart.");
 
     PruneRedundants();
+    VERBOSE(VB_GENERAL, "after PruneRedundants.");
 
     return hasconflicts;
 }
@@ -766,7 +776,9 @@
         {
             VERBOSE(VB_GENERAL, "Found changes in the todo list.");
             FillEncoderFreeSpaceCache();
+            VERBOSE(VB_GENERAL, "after FillEncoderFreeSpaceCache.");
             FillRecordLists();
+            VERBOSE(VB_GENERAL, "after FillRecordLists.");
             PrintList();
             lastupdate = curtime;
             startIter = reclist.begin();


More information about the mythtv-dev mailing list