/[xmltv_parser]/trunk/libxmltv/Core/XMLTVProgram.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVProgram.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 107 by william, Sun Mar 10 12:58:40 2013 UTC revision 110 by william, Sun Mar 10 14:28:57 2013 UTC
# Line 297  namespace libxmltv.Core Line 297  namespace libxmltv.Core
297                  xmltv_logger.Verbose.Debug.WriteLine("Parsng unhandled extra program meta-data: {0}", node.Name.ToString());                  xmltv_logger.Verbose.Debug.WriteLine("Parsng unhandled extra program meta-data: {0}", node.Name.ToString());
298                  if (this.GetInstance() != null)                  if (this.GetInstance() != null)
299                  {                  {
300                      List<ExtraMetaData> list = new List<ExtraMetaData>();                      List<IExtraMetaData> list = new List<IExtraMetaData>();
301                      if (!instance.MetaData.ContainsProperty(XMLTVConstants.Programs.ProgramExtraMetaData)) { instance.MetaData.AddProperty(XMLTVConstants.Programs.ProgramExtraMetaData, new List<ExtraMetaData>()); }                      if (!instance.MetaData.ContainsProperty(XMLTVConstants.Programs.ProgramExtraMetaData)) { instance.MetaData.AddProperty(XMLTVConstants.Programs.ProgramExtraMetaData, new List<ExtraMetaData>()); }
302                      else { list = (List<ExtraMetaData>)instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData]; }                      else { list = (List<IExtraMetaData>)instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData]; }
303                      ExtraMetaData data = new ExtraMetaData(node);                      ExtraMetaData data = new ExtraMetaData(node);
304                      list.Add(data);                      list.Add(data);
305                      instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData] = list;                      instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData] = list;

Legend:
Removed from v.107  
changed lines
  Added in v.110

  ViewVC Help
Powered by ViewVC 1.1.22