/[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/15 16:53:40	163
+++ trunk/GBPVRProgramDatabaseFixer/Program.cs	2013/03/15 16:57:50	164
@@ -188,7 +188,8 @@
 
             var gbpvr_programs_startdate_range = sqlite.GetProgramsDateRange(gbpvr_programs);
             var xmltv_programs_startdate_range = GetXMLTVProgramStartDateRange(xmltv_programs);
-            gbpvr_programs = sqlite.FilterProgramsByDateRange(gbpvr_programs, xmltv_programs_startdate_range);
+            List<SQLLITE.IPROGRAMME> gbpvr_removed_programs = new List<SQLLITE.IPROGRAMME>();
+            gbpvr_programs = sqlite.FilterProgramsByDateRange(gbpvr_programs, xmltv_programs_startdate_range, out gbpvr_removed_programs);
             xmltv_programs = xmltv_programs.OrderBy(s => s.ChannelNumber).ThenBy(s => DateTime.Parse(s.Start)).ToList();
             CheckScheduledRecordingsForDiscrepancies();
             CheckProgramsForDiscrepancies();

 

  ViewVC Help
Powered by ViewVC 1.1.22