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 |
#region Root Constants |
11 |
public static class Root |
12 |
{ |
13 |
public const string RootElement = "tv"; |
14 |
} |
15 |
#endregion |
16 |
|
17 |
#region Source Constants |
18 |
public static class Source |
19 |
{ |
20 |
public const string SourceName = "source-info-name"; |
21 |
public const string GeneratorName = "generator-info-name"; |
22 |
public const string GeneratorUrl = "generator-info-url"; |
23 |
} |
24 |
#endregion |
25 |
#region Channel Constants |
26 |
public static class Channels |
27 |
{ |
28 |
public const string RootElement = "channel"; |
29 |
public const string ChannelId = "id"; |
30 |
public const string ChannelDisplayName = "display-name"; |
31 |
} |
32 |
#endregion |
33 |
#region Program Constants |
34 |
public static class Programs |
35 |
{ |
36 |
public const string RootElement = "programme"; |
37 |
public const string ProgramStart = "start"; |
38 |
public const string ProgramStop = "stop"; |
39 |
public const string ProgramChannelId = XMLTVConstants.Channels.RootElement; |
40 |
public const string ProgramTitle = "title"; |
41 |
public const string ProgramSubTitle = "sub-title"; |
42 |
public const string ProgramDescription = "desc"; |
43 |
|
44 |
#region extra meta-data |
45 |
//public const string ProgramCredits = "credits"; |
46 |
//public const string ProgramDirector = "director"; |
47 |
//public const string ProgramActor = "actor"; |
48 |
//public const string ProgramDate = "date"; |
49 |
//public const string ProgramCategory = "category"; |
50 |
//public const string ProgramEpisodeNum = "episode-num"; |
51 |
//public const string ProgramPreviouslyShown = "previously-shown"; |
52 |
public const string ProgramExtraMetaData = "extra"; |
53 |
#endregion |
54 |
} |
55 |
#endregion |
56 |
} |
57 |
} |
58 |
|
59 |
|
60 |
|