/[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

revision 191 by william, Sat Mar 16 20:07:53 2013 UTC revision 192 by william, Sat Mar 16 20:14:46 2013 UTC
# Line 420  namespace GBPVRProgramDatabaseFixer Line 420  namespace GBPVRProgramDatabaseFixer
420                  }                  }
421                  index++;                  index++;
422              }              }
423                gLog.Info.WriteLine("Total XMLTV Programs: 0x{0:x8}", xmltv_programs.Count);
424                gLog.Info.WriteLine("Total Valid GB-PVR Programs: 0x{0:x8}", source_valid.Count);
425                gLog.Info.WriteLine("Total Invalid GB-PVR Programs: 0x{0:x8}", source_invalid.Count);
426                gLog.Info.WriteLine("Total GB-PVR Programs (Valid+Invalid): 0x{0:x8} == 0x{1:x8}", source_valid.Count + source_invalid.Count, gbpvr_programs.Count);
427              #region old-code              #region old-code
428              //List<OldNewProgram> source_update = new List<OldNewProgram>();              //List<OldNewProgram> source_update = new List<OldNewProgram>();
429              ////if (range == null)              ////if (range == null)
# Line 851  namespace GBPVRProgramDatabaseFixer Line 854  namespace GBPVRProgramDatabaseFixer
854              {              {
855                  new_program_list.Add(program.NewProgram);                  new_program_list.Add(program.NewProgram);
856              }              }
857              new_program_list.TrimExcess();              //new_program_list.TrimExcess();
858              gLog.Info.WriteLine("Inserting {0} gbpvr programs.", new_program_list.ToArray().Count());              gLog.Info.WriteLine("Inserting {0} gbpvr programs.", new_program_list.Count);
859              Stopwatch st = new Stopwatch();              Stopwatch st = new Stopwatch();
860              st.Start();              st.Start();
861              if (!InsertProgramEntryDatabase(new_program_list))              if (!InsertProgramEntryDatabase(new_program_list))

Legend:
Removed from v.191  
changed lines
  Added in v.192

  ViewVC Help
Powered by ViewVC 1.1.22