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

revision 160 by william, Thu Mar 14 20:30:40 2013 UTC revision 161 by william, Thu Mar 14 20:37:11 2013 UTC
# Line 216  namespace GBPVRProgramDatabaseFixer Line 216  namespace GBPVRProgramDatabaseFixer
216                  else                  else
217                  {                  {
218                      gLog.Warn.WriteLine("Recording may not be valid: oid='{0}' programme_oid='{1}' title='{2}' start='{3}', end='{4}'", manual_recording.oid, manual_recording.programme_oid, title, start.ToDateTimeString(), end.ToDateTimeString());                      gLog.Warn.WriteLine("Recording may not be valid: oid='{0}' programme_oid='{1}' title='{2}' start='{3}', end='{4}'", manual_recording.oid, manual_recording.programme_oid, title, start.ToDateTimeString(), end.ToDateTimeString());
219    
220                        // find the program on the channel at the start time
221                        var correct_program = xmltv_programs.ToList().Find(p =>
222                            p.ChannelNumber == channel_number &&
223                            p.Start == start.ToDateTimeString()
224                            );
225                        if (correct_program != null)
226                        {
227                            gLog.Warn.WriteLine("\tThis will be recorded: {0}", correct_program.ToString());
228                        }
229                  }                  }
230              }              }
231          }          }

Legend:
Removed from v.160  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.22