/[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 247 by william, Wed Mar 20 06:54:00 2013 UTC revision 250 by william, Thu Mar 28 06:58:11 2013 UTC
# Line 237  namespace GBPVRProgramDatabaseFixer Line 237  namespace GBPVRProgramDatabaseFixer
237              {              {
238                  RecordingStatus status = (RecordingStatus)recording.status;                  RecordingStatus status = (RecordingStatus)recording.status;
239                  RecordingType type = (RecordingType)recording.recording_type;                  RecordingType type = (RecordingType)recording.recording_type;
240                  if (type == RecordingType.TYPE_RECORD_SEASON)  
241                  {                  // ignore any recording whose type is not: RecordingType.TYPE_RECORD_ONCE
242                      continue; // ignore TYPE_RECORD_SEASON                  if (type != RecordingType.TYPE_RECORD_ONCE) { continue; }
243                  }                  // ignore any recording whose status is not: RecordingStatus.STATUS_PENDING and not: RecordingStatus.STATUS_IN_PROGRESS
244                  if (status != RecordingStatus.STATUS_PENDING)                  if (status != RecordingStatus.STATUS_PENDING && status != RecordingStatus.STATUS_IN_PROGRESS) { continue; }
245                  {                  // only fix recordings that have a recording group greater than 0 (zero)
246                      continue; // ignore any status except STATUS_PENDING                  if (recording.recording_group == 0) { continue; }
                 }  
                 if (recording.recording_group == 0 && recording.programme_oid == 0)  
                 {  
                     continue; // ignore manual recordings  
                 }  
247                  // verify data for this recording                  // verify data for this recording
248                  var recording_oid = recording.oid;                  var recording_oid = recording.oid;
249                  var programme_oid = recording.programme_oid;                  var programme_oid = recording.programme_oid;

Legend:
Removed from v.247  
changed lines
  Added in v.250

  ViewVC Help
Powered by ViewVC 1.1.22