Parent Directory
|
Revision Log
|
Patch
--- trunk/GBPVRProgramDatabaseFixer/Program.cs 2013/03/14 20:30:40 160 +++ trunk/GBPVRProgramDatabaseFixer/Program.cs 2013/03/14 20:37:11 161 @@ -216,6 +216,16 @@ else { 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()); + + // find the program on the channel at the start time + var correct_program = xmltv_programs.ToList().Find(p => + p.ChannelNumber == channel_number && + p.Start == start.ToDateTimeString() + ); + if (correct_program != null) + { + gLog.Warn.WriteLine("\tThis will be recorded: {0}", correct_program.ToString()); + } } } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |