30 #include "recording.h" 32 #include "capturecard.h" 33 #include "videosource.h" 34 #include "recordschedule.h" 40 {
"Version", IS_STRING, (setter_t)MythDTO::SetVersion_Version },
41 {
"Protocol", IS_UINT32, (setter_t)MythDTO::SetVersion_Protocol },
42 {
"Schema", IS_UINT32, (setter_t)MythDTO::SetVersion_Schema },
48 {
"Count", IS_UINT32, (setter_t)MythDTO::SetItemList_Count },
49 {
"ProtoVer", IS_UINT32, (setter_t)MythDTO::SetItemList_ProtoVer },
55 {
"URL", IS_STRING, (setter_t)MythDTO::SetArtwork_URL },
56 {
"FileName", IS_STRING, (setter_t)MythDTO::SetArtwork_FileName },
57 {
"StorageGroup", IS_STRING, (setter_t)MythDTO::SetArtwork_StorageGroup },
58 {
"Type", IS_STRING, (setter_t)MythDTO::SetArtwork_Type },
64 {
"ChanId", IS_UINT32, (setter_t)MythDTO::SetChannel_ChanId },
65 {
"ChanNum", IS_STRING, (setter_t)MythDTO::SetChannel_ChanNum },
66 {
"CallSign", IS_STRING, (setter_t)MythDTO::SetChannel_CallSign },
67 {
"IconURL", IS_STRING, (setter_t)MythDTO::SetChannel_IconURL },
68 {
"ChannelName", IS_STRING, (setter_t)MythDTO::SetChannel_ChannelName },
69 {
"MplexId", IS_UINT32, (setter_t)MythDTO::SetChannel_MplexId },
70 {
"CommFree", IS_STRING, (setter_t)MythDTO::SetChannel_CommFree },
71 {
"ChanFilters", IS_STRING, (setter_t)MythDTO::SetChannel_ChanFilters },
72 {
"SourceId", IS_UINT32, (setter_t)MythDTO::SetChannel_SourceId },
73 {
"InputId", IS_UINT32, (setter_t)MythDTO::SetChannel_InputId },
74 {
"Visible", IS_BOOLEAN, (setter_t)MythDTO::SetChannel_Visible },
80 {
"RecordId", IS_UINT32, (setter_t)MythDTO::SetRecording_RecordId },
81 {
"Priority", IS_INT32, (setter_t)MythDTO::SetRecording_Priority },
82 {
"Status", IS_INT8, (setter_t)MythDTO::SetRecording_Status },
83 {
"EncoderId", IS_UINT32, (setter_t)MythDTO::SetRecording_EncoderId },
84 {
"RecType", IS_UINT8, (setter_t)MythDTO::SetRecording_RecType },
85 {
"DupInType", IS_UINT8, (setter_t)MythDTO::SetRecording_DupInType },
86 {
"DupMethod", IS_UINT8, (setter_t)MythDTO::SetRecording_DupMethod },
87 {
"StartTs", IS_TIME, (setter_t)MythDTO::SetRecording_StartTs },
88 {
"EndTs", IS_TIME, (setter_t)MythDTO::SetRecording_EndTs },
89 {
"Profile", IS_STRING, (setter_t)MythDTO::SetRecording_Profile },
90 {
"RecGroup", IS_STRING, (setter_t)MythDTO::SetRecording_RecGroup },
91 {
"StorageGroup", IS_STRING, (setter_t)MythDTO::SetRecording_StorageGroup },
92 {
"PlayGroup", IS_STRING, (setter_t)MythDTO::SetRecording_PlayGroup },
98 {
"StartTime", IS_TIME, (setter_t)MythDTO::SetProgram_StartTime },
99 {
"EndTime", IS_TIME, (setter_t)MythDTO::SetProgram_EndTime },
100 {
"Title", IS_STRING, (setter_t)MythDTO::SetProgram_Title },
101 {
"SubTitle", IS_STRING, (setter_t)MythDTO::SetProgram_SubTitle },
102 {
"Description", IS_STRING, (setter_t)MythDTO::SetProgram_Description },
103 {
"Season", IS_UINT16, (setter_t)MythDTO::SetProgram_Season },
104 {
"Episode", IS_UINT16, (setter_t)MythDTO::SetProgram_Episode },
105 {
"Category", IS_STRING, (setter_t)MythDTO::SetProgram_Category },
106 {
"CatType", IS_STRING, (setter_t)MythDTO::SetProgram_CatType},
107 {
"HostName", IS_STRING, (setter_t)MythDTO::SetProgram_HostName },
108 {
"FileName", IS_STRING, (setter_t)MythDTO::SetProgram_FileName },
109 {
"FileSize", IS_INT64, (setter_t)MythDTO::SetProgram_FileSize },
110 {
"Repeat", IS_BOOLEAN, (setter_t)MythDTO::SetProgram_Repeat },
111 {
"ProgramFlags", IS_INT32, (setter_t)MythDTO::SetProgram_ProgramFlags },
112 {
"SeriesId", IS_STRING, (setter_t)MythDTO::SetProgram_SeriesId },
113 {
"ProgramId", IS_STRING, (setter_t)MythDTO::SetProgram_ProgramId },
114 {
"Inetref", IS_STRING, (setter_t)MythDTO::SetProgram_Inetref },
115 {
"LastModified", IS_TIME, (setter_t)MythDTO::SetProgram_LastModified },
116 {
"Stars", IS_STRING, (setter_t)MythDTO::SetProgram_Stars },
117 {
"Airdate", IS_TIME, (setter_t)MythDTO::SetProgram_Airdate },
118 {
"AudioProps", IS_UINT16, (setter_t)MythDTO::SetProgram_AudioProps },
119 {
"VideoProps", IS_UINT16, (setter_t)MythDTO::SetProgram_VideoProps },
120 {
"SubProps", IS_UINT16, (setter_t)MythDTO::SetProgram_SubProps },
126 {
"CardId", IS_UINT32, (setter_t)MythDTO::SetCaptureCard_CardId },
127 {
"CardType", IS_STRING, (setter_t)MythDTO::SetCaptureCard_CardType },
128 {
"HostName", IS_STRING, (setter_t)MythDTO::SetCaptureCard_HostName },
134 {
"Id", IS_UINT32, (setter_t)MythDTO::SetVideoSource_Id },
135 {
"SourceName", IS_STRING, (setter_t)MythDTO::SetVideoSource_SourceName },
141 {
"Id", IS_UINT32, (setter_t)MythDTO::SetSchedule_Id },
142 {
"ParentId", IS_UINT32, (setter_t)MythDTO::SetSchedule_ParentId },
143 {
"Inactive", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_Inactive },
144 {
"Title", IS_STRING, (setter_t)MythDTO::SetSchedule_Title },
145 {
"SubTitle", IS_STRING, (setter_t)MythDTO::SetSchedule_Subtitle },
146 {
"Description", IS_STRING, (setter_t)MythDTO::SetSchedule_Description },
147 {
"Season", IS_UINT16, (setter_t)MythDTO::SetSchedule_Season },
148 {
"Episode", IS_UINT16, (setter_t)MythDTO::SetSchedule_Episode },
149 {
"Category", IS_STRING, (setter_t)MythDTO::SetSchedule_Category },
150 {
"StartTime", IS_TIME, (setter_t)MythDTO::SetSchedule_StartTime },
151 {
"EndTime", IS_TIME, (setter_t)MythDTO::SetSchedule_EndTime },
152 {
"SeriesId", IS_STRING, (setter_t)MythDTO::SetSchedule_SeriesId },
153 {
"ProgramId", IS_STRING, (setter_t)MythDTO::SetSchedule_ProgramId },
154 {
"Inetref", IS_STRING, (setter_t)MythDTO::SetSchedule_Inetref },
155 {
"ChanId", IS_UINT32, (setter_t)MythDTO::SetSchedule_ChanId },
156 {
"CallSign", IS_STRING, (setter_t)MythDTO::SetSchedule_CallSign },
157 {
"Day", IS_INT8, (setter_t)MythDTO::SetSchedule_FindDay },
158 {
"Time", IS_STRING, (setter_t)MythDTO::SetSchedule_FindTime },
159 {
"Type", IS_STRING, (setter_t)MythDTO::SetSchedule_Type },
160 {
"SearchType", IS_STRING, (setter_t)MythDTO::SetSchedule_SearchType },
161 {
"RecPriority", IS_INT8, (setter_t)MythDTO::SetSchedule_RecPriority },
162 {
"PreferredInput", IS_UINT32, (setter_t)MythDTO::SetSchedule_PreferredInput },
163 {
"StartOffset", IS_UINT8, (setter_t)MythDTO::SetSchedule_StartOffset },
164 {
"EndOffset", IS_UINT8, (setter_t)MythDTO::SetSchedule_EndOffset },
165 {
"DupMethod", IS_STRING, (setter_t)MythDTO::SetSchedule_DupMethod },
166 {
"DupIn", IS_STRING, (setter_t)MythDTO::SetSchedule_DupIn },
167 {
"Filter", IS_UINT32, (setter_t)MythDTO::SetSchedule_Filter },
168 {
"RecProfile", IS_STRING, (setter_t)MythDTO::SetSchedule_RecProfile },
169 {
"RecGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_RecGroup },
170 {
"StorageGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_StorageGroup },
171 {
"PlayGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_PlayGroup },
172 {
"AutoExpire", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoExpire },
173 {
"MaxEpisodes", IS_UINT32, (setter_t)MythDTO::SetSchedule_MaxEpisodes },
174 {
"MaxNewest", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_MaxNewest },
175 {
"AutoCommflag", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoCommflag },
176 {
"AutoTranscode", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoTranscode },
177 {
"AutoMetaLookup", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoMetaLookup },
178 {
"AutoUserJob1", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob1 },
179 {
"AutoUserJob2", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob2 },
180 {
"AutoUserJob3", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob3 },
181 {
"AutoUserJob4", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob4 },
182 {
"Transcoder", IS_UINT32, (setter_t)MythDTO::SetSchedule_Transcoder },
184 bindings_t RecordScheduleBindArray = {
sizeof(recordschedule) /
sizeof(
attr_bind_t), recordschedule };
Brings together all attribute bindings of an object.
Definition of binding from a source field to an object attribute.