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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (show annotations) (download)
Sat Mar 9 13:51:58 2013 UTC (6 years, 7 months ago) by william
File size: 1897 byte(s)
+ use a Properties dictionary to hold the Program metadata

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace libxmltv.Core
7 {
8 public static class XMLTVConstants
9 {
10 public const string ROOT_ELEMENT = "tv";
11 public const string CHANNEL_ELEMENT = "channel";
12 public const string PROGRAM_ELEMENT = "programme";
13
14 #region Source Constants
15 public static class Source
16 {
17 public const string SourceName = "source-info-name";
18 public const string GeneratorName = "generator-info-name";
19 public const string GeneratorUrl = "generator-info-url";
20 }
21 #endregion
22 #region Channel Constants
23 public static class Channels
24 {
25 public const string ChannelId = "id";
26 public const string ChannelDisplayName = "display-name";
27 }
28 #endregion
29 #region Program Constants
30 public static class Programs
31 {
32 public const string ProgramStart = "start";
33 public const string ProgramStop = "stop";
34 public const string ProgramChannelId = CHANNEL_ELEMENT;
35 public const string ProgramTitle = "title";
36 public const string ProgramSubTitle = "sub-title";
37 public const string ProgramDescription = "desc";
38
39 #region extra meta-data
40 public const string ProgramCredits = "credits";
41 public const string ProgramDirector = "director";
42 public const string ProgramActor = "actor";
43 public const string ProgramDate = "date";
44 public const string ProgramCategory = "category";
45 public const string ProgramEpisodeNum = "episode-num";
46 public const string ProgramPreviouslyShown = "previously-shown";
47 #endregion
48 }
49 #endregion
50 }
51 }
52
53

  ViewVC Help
Powered by ViewVC 1.1.22