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

Diff of /trunk/GBPVRProgramDatabaseFixer/Program.cs

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

--- trunk/GBPVRProgramDatabaseFixer/Program.cs	2013/03/16 13:57:41	168
+++ trunk/GBPVRProgramDatabaseFixer/Program.cs	2013/03/16 16:03:19	174
@@ -244,8 +244,8 @@
             var sqllite_programs_startdate_range = sqlite.GetProgramsDateRange(sqllite_programs);
             var xmltv_programs_startdate_range = GetXMLTVProgramStartDateRange(xmltv_programs);
             var gbpvr_invalid_programs = new List<SQLLITE.IPROGRAMME>();
-            var gbpvr_valid_programs = sqlite.CreateUpdatedProgramsList(sqllite_programs, xmltv_programs, out gbpvr_invalid_programs);
-            xmltv_programs = xmltv_programs.OrderBy(s => s.ChannelNumber).ThenBy(s => DateTime.Parse(s.Start)).ToList();
+            var gbpvr_valid_programs = sqlite.FixGBPVRProgramsDatabase(sqllite_programs, xmltv_programs, out gbpvr_invalid_programs);
+            //xmltv_programs = xmltv_programs.OrderBy(s => s.ChannelNumber).ThenBy(s => DateTime.Parse(s.Start)).ToList();
             //sqllite_channels.TrimExcess();
             //gbpvr_invalid_programs.TrimExcess();
             //gbpvr_valid_programs.TrimExcess();

 

  ViewVC Help
Powered by ViewVC 1.1.22