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

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

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

--- trunk/libxmltv/Core/XMLTVConstants.cs	2013/03/09 13:51:58	86
+++ trunk/libxmltv/Core/XMLTVConstants.cs	2013/03/10 12:25:54	106
@@ -7,9 +7,12 @@
 {
     public static class XMLTVConstants
     {
-        public const string ROOT_ELEMENT = "tv";
-        public const string CHANNEL_ELEMENT = "channel";
-        public const string PROGRAM_ELEMENT = "programme";
+        #region Root Constants
+        public static class Root
+        {
+            public const string RootElement = "tv";
+        }
+        #endregion
 
         #region Source Constants
         public static class Source
@@ -22,6 +25,7 @@
         #region Channel Constants
         public static class Channels
         {
+            public const string RootElement = "channel";
             public const string ChannelId = "id";
             public const string ChannelDisplayName = "display-name";
         }
@@ -29,21 +33,23 @@
         #region Program Constants
         public static class Programs
         {
+            public const string RootElement = "programme";
             public const string ProgramStart = "start";
             public const string ProgramStop = "stop";
-            public const string ProgramChannelId = CHANNEL_ELEMENT;
+            public const string ProgramChannelId = XMLTVConstants.Channels.RootElement;
             public const string ProgramTitle = "title";
             public const string ProgramSubTitle = "sub-title";
             public const string ProgramDescription = "desc";
 
             #region extra meta-data
-            public const string ProgramCredits = "credits";
-            public const string ProgramDirector = "director";
-            public const string ProgramActor = "actor";
-            public const string ProgramDate = "date";
-            public const string ProgramCategory = "category";
-            public const string ProgramEpisodeNum = "episode-num";
-            public const string ProgramPreviouslyShown = "previously-shown";
+            //public const string ProgramCredits = "credits";
+            //public const string ProgramDirector = "director";
+            //public const string ProgramActor = "actor";
+            //public const string ProgramDate = "date";
+            //public const string ProgramCategory = "category";
+            //public const string ProgramEpisodeNum = "episode-num";
+            //public const string ProgramPreviouslyShown = "previously-shown";
+            public const string ProgramExtraMetaData = "extras";
             #endregion
         }
         #endregion
@@ -51,3 +57,4 @@
 }
 
 
+

 

  ViewVC Help
Powered by ViewVC 1.1.22