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

revision 226 by william, Sun Mar 17 03:17:18 2013 UTC revision 228 by william, Sun Mar 17 04:02:57 2013 UTC
# Line 205  namespace GBPVRProgramDatabaseFixer Line 205  namespace GBPVRProgramDatabaseFixer
205              Int32 priority { get; }              Int32 priority { get; }
206              String conversion_profile { get; }              String conversion_profile { get; }
207          }          }
   
   
   
208          private class RECORDING_SCHEDULE : IRECORDING_SCHEDULE, ICloneable<RECORDING_SCHEDULE>          private class RECORDING_SCHEDULE : IRECORDING_SCHEDULE, ICloneable<RECORDING_SCHEDULE>
209          {          {
210              public RECORDING_SCHEDULE()              public RECORDING_SCHEDULE()
# Line 250  namespace GBPVRProgramDatabaseFixer Line 247  namespace GBPVRProgramDatabaseFixer
247    
248                            
249          }          }
   
250          public interface IPROGRAMME : IEquatable<IPROGRAMME>, ICloneable<IPROGRAMME>          public interface IPROGRAMME : IEquatable<IPROGRAMME>, ICloneable<IPROGRAMME>
251          {          {
252              Int64 oid { get; set; }              Int64 oid { get; set; }
# Line 312  namespace GBPVRProgramDatabaseFixer Line 308  namespace GBPVRProgramDatabaseFixer
308                  definition.Stop = this.end_time.ToDateTimeString();                  definition.Stop = this.end_time.ToDateTimeString();
309                  definition.SubTitle = this.sub_title;                  definition.SubTitle = this.sub_title;
310                  definition.Title = this.name;                  definition.Title = this.name;
311                    definition.Rating = this.rating;
312                  return definition;                  return definition;
313              }              }
314              #endregion              #endregion
# Line 470  namespace GBPVRProgramDatabaseFixer Line 467  namespace GBPVRProgramDatabaseFixer
467                              updated_program.description = xmltv_entry.Description;                              updated_program.description = xmltv_entry.Description;
468                          }                          }
469    
470                            if(program_xmltv_entry.Rating != xmltv_entry.Rating)
471                            {
472                                gLog.Verbose.Warn.WriteLine("    Program oid: '{0}' - replacing rating", updated_program.oid);
473                                updated_program.rating = xmltv_entry.Rating;
474                            }
475    
476                          var updated_xmltv_entry = updated_program.AsXMLTVProgramDefinition(this);                          var updated_xmltv_entry = updated_program.AsXMLTVProgramDefinition(this);
477                          if (!xmltv_entry.Equals(updated_xmltv_entry))                          if (!xmltv_entry.Equals(updated_xmltv_entry))
478                          {                          {

Legend:
Removed from v.226  
changed lines
  Added in v.228

  ViewVC Help
Powered by ViewVC 1.1.22