/[xmltv_parser]/trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs
ViewVC logotype

Diff of /trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 20:07:53	191
+++ trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 20:14:46	192
@@ -420,7 +420,10 @@
                 }
                 index++;
             }
-
+            gLog.Info.WriteLine("Total XMLTV Programs: 0x{0:x8}", xmltv_programs.Count);
+            gLog.Info.WriteLine("Total Valid GB-PVR Programs: 0x{0:x8}", source_valid.Count);
+            gLog.Info.WriteLine("Total Invalid GB-PVR Programs: 0x{0:x8}", source_invalid.Count);
+            gLog.Info.WriteLine("Total GB-PVR Programs (Valid+Invalid): 0x{0:x8} == 0x{1:x8}", source_valid.Count + source_invalid.Count, gbpvr_programs.Count);
             #region old-code
             //List<OldNewProgram> source_update = new List<OldNewProgram>();
             ////if (range == null)
@@ -851,8 +854,8 @@
             {
                 new_program_list.Add(program.NewProgram);
             }
-            new_program_list.TrimExcess();
-            gLog.Info.WriteLine("Inserting {0} gbpvr programs.", new_program_list.ToArray().Count());
+            //new_program_list.TrimExcess();
+            gLog.Info.WriteLine("Inserting {0} gbpvr programs.", new_program_list.Count);
             Stopwatch st = new Stopwatch();
             st.Start();
             if (!InsertProgramEntryDatabase(new_program_list))

 

  ViewVC Help
Powered by ViewVC 1.1.22