/[xmltv_parser]/branches/linux/xmltv_parser/libxmltv/Core/XMLTVProgram.cs
ViewVC logotype

Diff of /branches/linux/xmltv_parser/libxmltv/Core/XMLTVProgram.cs

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

--- trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/10 13:01:09	109
+++ trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/10 14:28:57	110
@@ -297,9 +297,9 @@
                 xmltv_logger.Verbose.Debug.WriteLine("Parsng unhandled extra program meta-data: {0}", node.Name.ToString());
                 if (this.GetInstance() != null)
                 {
-                    List<ExtraMetaData> list = new List<ExtraMetaData>();
+                    List<IExtraMetaData> list = new List<IExtraMetaData>();
                     if (!instance.MetaData.ContainsProperty(XMLTVConstants.Programs.ProgramExtraMetaData)) { instance.MetaData.AddProperty(XMLTVConstants.Programs.ProgramExtraMetaData, new List<ExtraMetaData>()); }
-                    else { list = (List<ExtraMetaData>)instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData]; }
+                    else { list = (List<IExtraMetaData>)instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData]; }
                     ExtraMetaData data = new ExtraMetaData(node);
                     list.Add(data);
                     instance.MetaData[XMLTVConstants.Programs.ProgramExtraMetaData] = list;

 

  ViewVC Help
Powered by ViewVC 1.1.22