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

--- trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 19:13:18	187
+++ trunk/GBPVRProgramDatabaseFixer/SQLLITE.cs	2013/03/16 19:14:11	188
@@ -846,18 +846,18 @@
             {
                 progress = 100.0 * (index / total);
                 gLog.ReportProgress(this, new ReportProgressEventArgs((int)progress, string.Format("Updating/Inserting GBPVR Programs: {0:00}%", (int)progress)));
-                if (program.NewProgram.Equals(program.OldProgram))
+                //if (program.NewProgram.Equals(program.OldProgram))
+                //{
+                //    // program does not need to be updated
+                //    continue;
+                //}
+                //else
+                //{
+                if (!InsertProgramDatabaseEntry(program.NewProgram))
                 {
-                    // program does not need to be updated
-                    continue;
-                }
-                else
-                {
-                    if (!InsertProgramDatabaseEntry(program.NewProgram))
-                    {
-                        gLog.Error.WriteLine("Failed to insert program with oid: {0}", program.NewProgram.oid);
-                    }
+                    gLog.Error.WriteLine("Failed to insert program with oid: {0}", program.NewProgram.oid);
                 }
+                //}
                 index++;
             }
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22