/[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/14 19:36:01	157
+++ trunk/GBPVRProgramDatabaseFixer/Program.cs	2013/03/14 19:41:32	158
@@ -169,11 +169,25 @@
         static void SQLLITE_OnInstanceCreated(object sender, EventArgs e) { SQLLIST_INSTANCE_CREATED = true; }
 
 
-
+        static List<SQLLITE.IPROGRAMME> gbpvr_programs;
+        static List<SQLLITE.IRECORDING_SCHEDULE> gbpvr_recordings;
+        static List<libxmltv.Interfaces.IXMLTVProgram> xmltv_programs;
         static void PerformDatabaseProcessing()
         {
-            var programs = sqlite.Programs;
-            var recordings = sqlite.Recordings;
+            gbpvr_programs = sqlite.Programs;
+            gbpvr_recordings = sqlite.Recordings;
+            xmltv_programs = XMLTV.GetPrograms();
+            CheckScheduledRecordingsForDiscrepancies();
+            CheckProgramsForDiscrepancies();
+        }
+
+        static void CheckScheduledRecordingsForDiscrepancies()
+        {
+            gLog.Warn.WriteLine("CheckScheduledRecordingsForDiscrepancies() has not been implemented");
+        }
+        static void CheckProgramsForDiscrepancies()
+        {
+            gLog.Warn.WriteLine("CheckProgramsForDiscrepancies() has not been implemented");
         }
     }
 }

 

  ViewVC Help
Powered by ViewVC 1.1.22