1 |
william |
23 |
using System; |
2 |
|
|
using System.Collections.Generic; |
3 |
|
|
using System.Linq; |
4 |
|
|
using System.Text; |
5 |
|
|
|
6 |
|
|
namespace libxmltv.Core |
7 |
|
|
{ |
8 |
william |
86 |
public static class XMLTVConstants |
9 |
william |
23 |
{ |
10 |
william |
88 |
#region Root Constants |
11 |
|
|
public static class Root |
12 |
|
|
{ |
13 |
|
|
public const string RootElement = "tv"; |
14 |
|
|
} |
15 |
|
|
#endregion |
16 |
william |
25 |
|
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 |
william |
26 |
#region Channel Constants |
26 |
|
|
public static class Channels |
27 |
|
|
{ |
28 |
william |
88 |
public const string RootElement = "channel"; |
29 |
william |
26 |
public const string ChannelId = "id"; |
30 |
|
|
public const string ChannelDisplayName = "display-name"; |
31 |
|
|
} |
32 |
|
|
#endregion |
33 |
william |
27 |
#region Program Constants |
34 |
|
|
public static class Programs |
35 |
|
|
{ |
36 |
william |
88 |
public const string RootElement = "programme"; |
37 |
william |
27 |
public const string ProgramStart = "start"; |
38 |
william |
28 |
public const string ProgramStop = "stop"; |
39 |
william |
88 |
public const string ProgramChannelId = XMLTVConstants.Channels.RootElement; |
40 |
william |
28 |
public const string ProgramTitle = "title"; |
41 |
|
|
public const string ProgramSubTitle = "sub-title"; |
42 |
|
|
public const string ProgramDescription = "desc"; |
43 |
william |
86 |
|
44 |
|
|
#region extra meta-data |
45 |
william |
105 |
//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 |
william |
106 |
public const string ProgramExtraMetaData = "extras"; |
53 |
william |
86 |
#endregion |
54 |
william |
27 |
} |
55 |
|
|
#endregion |
56 |
william |
23 |
} |
57 |
william |
28 |
} |
58 |
william |
86 |
|
59 |
|
|
|
60 |
william |
105 |
|