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

--- trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/10 09:10:42	96
+++ trunk/libxmltv/Core/XMLTVProgram.cs	2013/03/10 11:09:56	103
@@ -54,7 +54,8 @@
         }
 
         #region Property Dictionary Support
-        public PropertyDictionary MetaData { get; private set; }
+        private PropertyDictionary _MetaData;
+        public PropertyDictionary MetaData { get { return _MetaData; } private set { _MetaData = value; } }
         #endregion
 
         #endregion
@@ -62,9 +63,9 @@
         {
             return string.Format("{0}: {1} - {2} ({3}) ['{4}' <==> '{5}']",
                 MetaData["Id"].ToString(),
-                 MetaData[(XMLTVConstants.Programs.ProgramTitle)].ToString(),
-                 MetaData[(XMLTVConstants.Programs.ProgramSubTitle)].ToString(),
-                 MetaData[(XMLTVConstants.Programs.ProgramChannelId)].ToString(),
+                 MetaData[XMLTVConstants.Programs.ProgramTitle].ToString(),
+                 MetaData[XMLTVConstants.Programs.ProgramSubTitle].ToString(),
+                 MetaData[(XMLTVConstants.Programs.ProgramChannelId].ToString(),
                 ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStart]).ToString("yyyy/MM/dd hh:mm tt"),
                 ((DateTime)MetaData[XMLTVConstants.Programs.ProgramStop]).ToString("yyyy/MM/dd hh:mm tt"));
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22