/[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 205 by william, Sat Mar 16 22:52:22 2013 UTC revision 206 by william, Sat Mar 16 23:01:45 2013 UTC
# Line 848  namespace GBPVRProgramDatabaseFixer Line 848  namespace GBPVRProgramDatabaseFixer
848          }          }
849          public void UpdateGBPVRPrograms(List<IPROGRAMME> programs)          public void UpdateGBPVRPrograms(List<IPROGRAMME> programs)
850          {          {
851              int ChunkSize = 512;              int ChunkSize = 1024;
852              var ChunkList = programs.Chunk<IPROGRAMME>(ChunkSize);              var ChunkList = programs.Chunk<IPROGRAMME>(ChunkSize);
853    
854              double total = programs.Count;              double total = programs.Count;
# Line 1022  namespace GBPVRProgramDatabaseFixer Line 1022  namespace GBPVRProgramDatabaseFixer
1022              builder.AppendFormat("\"{0}\",", program.name);              builder.AppendFormat("\"{0}\",", program.name);
1023              builder.AppendFormat("\"{0}\",", program.sub_title);              builder.AppendFormat("\"{0}\",", program.sub_title);
1024              builder.AppendFormat("\"{0}\",", program.description);              builder.AppendFormat("\"{0}\",", program.description);
1025              builder.AppendFormat("'{0}',", program.start_time);              builder.AppendFormat("'{0}',", program.start_time.ToString("yyyy/MM/dd HH:mm:ss.fffffff"));
1026              builder.AppendFormat("'{0}',", program.end_time);              builder.AppendFormat("'{0}',", program.end_time.ToString("yyyy/MM/dd HH:mm:ss.fffffff"));
1027              builder.AppendFormat("{0},", program.channel_oid);              builder.AppendFormat("{0},", program.channel_oid);
1028              builder.AppendFormat("\"{0}\",", program.unique_identifier);              builder.AppendFormat("\"{0}\",", program.unique_identifier);
1029              builder.AppendFormat("\"{0}\");", program.rating);              builder.AppendFormat("\"{0}\");", program.rating);

Legend:
Removed from v.205  
changed lines
  Added in v.206

  ViewVC Help
Powered by ViewVC 1.1.22