CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
mythdto76.h
1/*
2 * Copyright (C) 2014 Jean-Luc Barriere
3 *
4 * This Program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2, or (at your option)
7 * any later version.
8 *
9 * This Program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA
18 * http://www.gnu.org/copyleft/gpl.html
19 *
20 */
21
22#ifndef MYTHDTO76_H
23#define MYTHDTO76_H
24
25#include "mythdto.h"
26#include "version.h"
27#include "list.h"
28#include "program.h"
29#include "channel.h"
30#include "recording.h"
31#include "artwork.h"
32#include "capturecard.h"
33#include "videosource.h"
34#include "recordschedule.h"
35
36namespace MythDTO76
37{
38 attr_bind_t recordschedule[] =
39 {
40 { "Id", IS_UINT32, (setter_t)MythDTO::SetSchedule_Id },
41 { "ParentId", IS_UINT32, (setter_t)MythDTO::SetSchedule_ParentId },
42 { "Inactive", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_Inactive },
43 { "Title", IS_STRING, (setter_t)MythDTO::SetSchedule_Title },
44 { "SubTitle", IS_STRING, (setter_t)MythDTO::SetSchedule_Subtitle },
45 { "Description", IS_STRING, (setter_t)MythDTO::SetSchedule_Description },
46 { "Season", IS_UINT16, (setter_t)MythDTO::SetSchedule_Season },
47 { "Episode", IS_UINT16, (setter_t)MythDTO::SetSchedule_Episode },
48 { "Category", IS_STRING, (setter_t)MythDTO::SetSchedule_Category },
49 { "StartTime", IS_TIME, (setter_t)MythDTO::SetSchedule_StartTime },
50 { "EndTime", IS_TIME, (setter_t)MythDTO::SetSchedule_EndTime },
51 { "SeriesId", IS_STRING, (setter_t)MythDTO::SetSchedule_SeriesId },
52 { "ProgramId", IS_STRING, (setter_t)MythDTO::SetSchedule_ProgramId },
53 { "Inetref", IS_STRING, (setter_t)MythDTO::SetSchedule_Inetref },
54 { "ChanId", IS_UINT32, (setter_t)MythDTO::SetSchedule_ChanId },
55 { "CallSign", IS_STRING, (setter_t)MythDTO::SetSchedule_CallSign },
56 { "FindDay", IS_INT8, (setter_t)MythDTO::SetSchedule_FindDay },
57 { "FindTime", IS_STRING, (setter_t)MythDTO::SetSchedule_FindTime },
58 { "Type", IS_STRING, (setter_t)MythDTO::SetSchedule_Type },
59 { "SearchType", IS_STRING, (setter_t)MythDTO::SetSchedule_SearchType },
60 { "RecPriority", IS_INT8, (setter_t)MythDTO::SetSchedule_RecPriority },
61 { "PreferredInput", IS_UINT32, (setter_t)MythDTO::SetSchedule_PreferredInput },
62 { "StartOffset", IS_UINT8, (setter_t)MythDTO::SetSchedule_StartOffset },
63 { "EndOffset", IS_UINT8, (setter_t)MythDTO::SetSchedule_EndOffset },
64 { "DupMethod", IS_STRING, (setter_t)MythDTO::SetSchedule_DupMethod },
65 { "DupIn", IS_STRING, (setter_t)MythDTO::SetSchedule_DupIn },
66 { "Filter", IS_UINT32, (setter_t)MythDTO::SetSchedule_Filter },
67 { "RecProfile", IS_STRING, (setter_t)MythDTO::SetSchedule_RecProfile },
68 { "RecGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_RecGroup },
69 { "StorageGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_StorageGroup },
70 { "PlayGroup", IS_STRING, (setter_t)MythDTO::SetSchedule_PlayGroup },
71 { "AutoExpire", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoExpire },
72 { "MaxEpisodes", IS_UINT32, (setter_t)MythDTO::SetSchedule_MaxEpisodes },
73 { "MaxNewest", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_MaxNewest },
74 { "AutoCommflag", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoCommflag },
75 { "AutoTranscode", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoTranscode },
76 { "AutoMetaLookup", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoMetaLookup },
77 { "AutoUserJob1", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob1 },
78 { "AutoUserJob2", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob2 },
79 { "AutoUserJob3", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob3 },
80 { "AutoUserJob4", IS_BOOLEAN, (setter_t)MythDTO::SetSchedule_AutoUserJob4 },
81 { "Transcoder", IS_UINT32, (setter_t)MythDTO::SetSchedule_Transcoder },
82 { "NextRecording", IS_TIME, (setter_t)MythDTO::SetSchedule_NextRecording },
83 { "LastRecorded", IS_TIME, (setter_t)MythDTO::SetSchedule_LastRecorded },
84 { "LastDeleted", IS_TIME, (setter_t)MythDTO::SetSchedule_LastDeleted },
85 { "AverageDelay", IS_UINT32, (setter_t)MythDTO::SetSchedule_AverageDelay },
86 };
87 bindings_t RecordScheduleBindArray = { sizeof(recordschedule) / sizeof(attr_bind_t), recordschedule };
88}
89
90#endif /* MYTHDTO76_H */
91