/[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/17 04:02:57	228
+++ trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/17 04:13:59	229
@@ -418,6 +418,7 @@
             gbpvr_programs.TrimExcess();
             xmltv_programs.TrimExcess();
 
+            int updated_program_count = 0;
             double total = gbpvr_programs.Count;
             double index = 0;
             double progress = 0;
@@ -480,6 +481,7 @@
                         }
                         //source_valid.Add(new OldNewProgram(program, updated_program));
                         source_valid.Add(new OldNewProgram(program, updated_program));
+                        updated_program_count++;
                     }
                     else
                     {
@@ -494,6 +496,7 @@
             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);
+            gLog.Info.WriteLine("GB-PVR Programs needing an update: 0x{0:x8}", updated_program_count);
             #region old-code
             //List<OldNewProgram> source_update = new List<OldNewProgram>();
             ////if (range == null)

 

  ViewVC Help
Powered by ViewVC 1.1.22