MythTV  master
v2dvr.h
Go to the documentation of this file.
1 // Program Name: dvr.h
3 // Created : Mar. 7, 2011
4 //
5 // Copyright (c) 2011 David Blain <dblain@mythtv.org>
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, see <http://www.gnu.org/licenses/>.
23 //
25 
26 #ifndef V2DVR_H
27 #define V2DVR_H
28 
30 #include "v2programList.h"
31 #include "v2cutList.h"
32 #include "v2markupList.h"
33 #include "v2encoderList.h"
34 #include "v2inputList.h"
35 #include "v2recRuleFilterList.h"
36 #include "v2titleInfoList.h"
37 #include "v2recRuleList.h"
38 
39 #define DVR_SERVICE QString("/Dvr/")
40 #define DVR_HANDLE QString("Dvr")
41 
42 class V2Dvr : public MythHTTPService
43 {
44  Q_OBJECT
45  Q_CLASSINFO("Version", "7.1")
46  Q_CLASSINFO("AddRecordedCredits", "methods=POST;name=bool")
47  Q_CLASSINFO("AddRecordedProgram", "methods=POST;name=int")
48  Q_CLASSINFO("RemoveRecorded", "methods=POST;name=bool")
49  Q_CLASSINFO("DeleteRecording", "methods=POST;name=bool")
50  Q_CLASSINFO("UnDeleteRecording", "methods=POST;name=bool")
51  Q_CLASSINFO("StopRecording", "methods=POST;name=bool")
52  Q_CLASSINFO("ReactivateRecording", "methods=POST;name=bool")
53  Q_CLASSINFO("RescheduleRecordings","methods=POST;name=bool")
54  Q_CLASSINFO("AllowReRecord", "methods=POST;name=bool")
55  Q_CLASSINFO("UpdateRecordedWatchedStatus","methods=POST;name=bool")
56  Q_CLASSINFO("GetSavedBookmark", "name=long")
57  Q_CLASSINFO("GetLastPlayPos", "name=long")
58  Q_CLASSINFO("SetSavedBookmark", "name=bool")
59  Q_CLASSINFO("SetLastPlayPos", "name=bool")
60  Q_CLASSINFO("SetRecordedMarkup", "name=bool")
61  Q_CLASSINFO("AddRecordSchedule", "methods=POST;name=uint")
62  Q_CLASSINFO("UpdateRecordSchedule","methods=POST;name=bool")
63  Q_CLASSINFO("RemoveRecordSchedule","methods=POST;name=bool")
64  Q_CLASSINFO("AddDontRecordSchedule","methods=POST;name=bool")
65  Q_CLASSINFO("EnableRecordSchedule", "methods=POST;name=bool")
66  Q_CLASSINFO("DisableRecordSchedule","methods=POST;name=bool")
67  Q_CLASSINFO("RecordedIdForKey", "methods=GET,POST,HEAD;name=int")
68  Q_CLASSINFO("RecordedIdForPathname","methods=GET,POST,HEAD;name=int")
69  Q_CLASSINFO("RecStatusToString", "methods=GET,POST,HEAD;name=String")
70  Q_CLASSINFO("RecStatusToDescription","methods=GET,POST,HEAD;name=String")
71  Q_CLASSINFO("RecTypeToString", "methods=GET,POST,HEAD;name=String")
72  Q_CLASSINFO("RecTypeToDescription", "methods=GET,POST,HEAD;name=String")
73  Q_CLASSINFO("DupMethodToString", "methods=GET,POST,HEAD;name=String")
74  Q_CLASSINFO("DupMethodToDescription","methods=GET,POST,HEAD;name=String")
75  Q_CLASSINFO("DupInToString", "methods=GET,POST,HEAD;name=String")
76  Q_CLASSINFO("DupInToDescription", "methods=GET,POST,HEAD;name=String")
77  Q_CLASSINFO("ManageJobQueue", "methods=POST;name=int")
78  Q_CLASSINFO("UpdateRecordedMetadata", "methods=POST")
79 
80  public:
81  V2Dvr();
82  ~V2Dvr() override = default;
83  static void RegisterCustomTypes();
84 
85  public slots:
86 
87  static V2ProgramList* GetExpiringList( int StartIndex,
88  int Count );
89 
90  V2ProgramList* GetRecordedList( bool Descending,
91  int StartIndex,
92  int Count,
93  const QString &TitleRegEx,
94  const QString &RecGroup,
95  const QString &StorageGroup,
96  const QString &Category,
97  const QString &Sort,
98  bool IgnoreLiveTV,
99  bool IgnoreDeleted,
100  bool IncChannel,
101  bool Details,
102  bool IncCast,
103  bool IncArtWork,
104  bool IncRecording);
105 
106  static V2ProgramList* GetOldRecordedList( bool Descending,
107  int StartIndex,
108  int Count,
109  const QDateTime &StartTime,
110  const QDateTime &EndTime,
111  const QString &Title,
112  const QString &SeriesId,
113  int RecordId,
114  const QString &Sort);
115 
116  static V2Program* GetRecorded ( int RecordedId,
117  int ChanId,
118  const QDateTime &StartTime );
119 
120  static bool AddRecordedCredits ( int RecordedId,
121  const QString & Cast);
122 
123  static int AddRecordedProgram ( const QString & Program);
124 
125  static bool RemoveRecorded ( int RecordedId,
126  int ChanId,
127  const QDateTime &StartTime,
128  bool ForceDelete,
129  bool AllowRerecord );
130 
131  static bool DeleteRecording ( int RecordedId,
132  int ChanId,
133  const QDateTime &StartTime,
134  bool ForceDelete,
135  bool AllowRerecord );
136 
137  static bool UnDeleteRecording ( int RecordedId,
138  int ChanId,
139  const QDateTime &StartTime );
140 
141  static bool StopRecording ( int RecordedId );
142 
143  static bool ReactivateRecording ( int RecordedId,
144  int ChanId,
145  const QDateTime &StartTime );
146 
147  static bool RescheduleRecordings( void );
148 
149  static bool AllowReRecord ( int RecordedId );
150 
151  static bool UpdateRecordedWatchedStatus ( int RecordedId,
152  int ChanId,
153  const QDateTime &StartTime,
154  bool Watched);
155 
156  static long GetSavedBookmark ( int RecordedId,
157  int ChanId,
158  const QDateTime &StartTime,
159  const QString &OffsetType );
160 
161  static long GetLastPlayPos ( int RecordedId,
162  int ChanId,
163  const QDateTime &StartTime,
164  const QString &OffsetType );
165 
166  static bool SetSavedBookmark ( int RecordedId,
167  int ChanId,
168  const QDateTime &StartTime,
169  const QString &OffsetType,
170  long Offset
171  );
172 
173  static bool SetLastPlayPos ( int RecordedId,
174  int ChanId,
175  const QDateTime &StartTime,
176  const QString &OffsetType,
177  long Offset
178  );
179 
180  static V2CutList* GetRecordedCutList ( int RecordedId,
181  int ChanId,
182  const QDateTime &StartTime,
183  const QString &OffsetType );
184 
185  static V2CutList* GetRecordedCommBreak( int RecordedId,
186  int ChanId,
187  const QDateTime &StartTime,
188  const QString &OffsetType );
189 
190  static V2CutList* GetRecordedSeek ( int RecordedId,
191  const QString &OffsetType );
192 
193  static V2MarkupList* GetRecordedMarkup( int RecordedId );
194 
195  static bool SetRecordedMarkup ( int RecordedId,
196  const QString &MarkupList);
197 
198  static V2ProgramList* GetConflictList ( int StartIndex,
199  int Count,
200  int RecordId );
201 
202  static V2ProgramList* GetUpcomingList ( int StartIndex,
203  int Count,
204  bool ShowAll,
205  int RecordId,
206  const QString & RecStatus );
207 
208  static V2EncoderList* GetEncoderList ( );
209 
210  static V2InputList* GetInputList ( );
211 
212  static QStringList GetRecGroupList ( );
213 
214  static QStringList GetProgramCategories ( bool OnlyRecorded );
215 
216  static QStringList GetRecStorageGroupList ( );
217 
218  static QStringList GetPlayGroupList ( );
219 
221 
222  static QStringList GetTitleList ( const QString &RecGroup );
223 
224  static V2TitleInfoList* GetTitleInfoList ( );
225 
226  // Recording Rules
227 
228  static uint AddRecordSchedule ( const QString& Title,
229  const QString& Subtitle,
230  const QString& Description,
231  const QString& Category,
232  const QDateTime& StartTime,
233  const QDateTime& EndTime,
234  const QString& SeriesId,
235  const QString& ProgramId,
236  int ChanId,
237  const QString& Station,
238  int FindDay,
239  QTime FindTime,
240  int ParentId,
241  bool Inactive,
242  uint Season,
243  uint Episode,
244  const QString& Inetref,
245  QString Type,
246  QString SearchType,
247  int RecPriority,
248  uint PreferredInput,
249  int StartOffset,
250  int EndOffset,
251  const QDateTime& LastRecorded,
252  QString DupMethod,
253  QString DupIn,
254  bool NewEpisOnly,
255  uint Filter,
256  QString RecProfile,
257  QString RecGroup,
258  QString StorageGroup,
259  QString PlayGroup,
260  bool AutoExpire,
261  int MaxEpisodes,
262  bool MaxNewest,
263  bool AutoCommflag,
264  bool AutoTranscode,
265  bool AutoMetaLookup,
266  bool AutoUserJob1,
267  bool AutoUserJob2,
268  bool AutoUserJob3,
269  bool AutoUserJob4,
270  int Transcoder);
271 
272  static bool UpdateRecordSchedule ( uint RecordId,
273  const QString& Title,
274  const QString& Subtitle,
275  const QString& Description,
276  const QString& Category,
277  const QDateTime& StartTime,
278  const QDateTime& EndTime,
279  const QString& SeriesId,
280  const QString& ProgramId,
281  int ChanId,
282  const QString& Station,
283  int FindDay,
284  QTime FindTime,
285  bool Inactive,
286  uint Season,
287  uint Episode,
288  const QString& Inetref,
289  QString Type,
290  QString SearchType,
291  int RecPriority,
292  uint PreferredInput,
293  int StartOffset,
294  int EndOffset,
295  QString DupMethod,
296  QString DupIn,
297  bool NewEpisOnly,
298  uint Filter,
299  QString RecProfile,
300  QString RecGroup,
301  QString StorageGroup,
302  QString PlayGroup,
303  bool AutoExpire,
304  int MaxEpisodes,
305  bool MaxNewest,
306  bool AutoCommflag,
307  bool AutoTranscode,
308  bool AutoMetaLookup,
309  bool AutoUserJob1,
310  bool AutoUserJob2,
311  bool AutoUserJob3,
312  bool AutoUserJob4,
313  int Transcoder);
314 
315  static bool RemoveRecordSchedule ( uint RecordId );
316 
317  static bool AddDontRecordSchedule( int ChanId,
318  const QDateTime &StartTime,
319  bool NeverRecord );
320 
321  static V2RecRuleList* GetRecordScheduleList( int StartIndex,
322  int Count,
323  const QString &Sort,
324  bool Descending );
325 
326  static V2RecRule* GetRecordSchedule ( uint RecordId,
327  const QString& Template,
328  int RecordedId,
329  int ChanId,
330  const QDateTime& StartTime,
331  bool MakeOverride );
332 
333  static bool EnableRecordSchedule ( uint RecordId );
334 
335  static bool DisableRecordSchedule( uint RecordId );
336 
337  static int RecordedIdForKey ( int ChanId,
338  const QDateTime &StartTime );
339 
340  static int RecordedIdForPathname( const QString &Pathname );
341 
342  static QString RecStatusToString ( const QString & RecStatus );
343 
344  static QString RecStatusToDescription (const QString & RecStatus,
345  int RecType,
346  const QDateTime &StartTime );
347 
348  static QString RecTypeToString ( const QString& RecType );
349 
350  static QString RecTypeToDescription ( const QString& RecType );
351 
352  static QString DupMethodToString ( const QString& DupMethod );
353 
354  static QString DupMethodToDescription ( const QString& DupMethod );
355 
356  static QString DupInToString ( const QString& DupIn );
357 
358  static QString DupInToDescription ( const QString& DupIn );
359 
360  int ManageJobQueue ( const QString &Action,
361  const QString &JobName,
362  int JobId,
363  int RecordedId,
364  QDateTime JobStartTime,
365  QString RemoteHost,
366  QString JobArgs );
367 
368  bool UpdateRecordedMetadata ( uint RecordedId,
369  bool AutoExpire,
370  long BookmarkOffset,
371  const QString &BookmarkOffsetType,
372  bool Damaged,
373  const QString &Description,
374  uint Episode,
375  const QString &Inetref,
376  QDate OriginalAirDate,
377  bool Preserve,
378  uint Season,
379  uint Stars,
380  const QString &SubTitle,
381  const QString &Title,
382  bool Watched );
383 
384  private:
385  Q_DISABLE_COPY(V2Dvr)
386 
387 };
388 
389 #endif
v2inputList.h
V2Dvr::AllowReRecord
static bool AllowReRecord(int RecordedId)
Definition: v2dvr.cpp:719
V2InputList
Definition: v2inputList.h:20
V2Dvr::GetRecordedSeek
static V2CutList * GetRecordedSeek(int RecordedId, const QString &OffsetType)
Definition: v2dvr.cpp:994
V2Dvr::RecordedIdForPathname
static int RecordedIdForPathname(const QString &Pathname)
Definition: v2dvr.cpp:1911
V2Dvr::GetPlayGroupList
static QStringList GetPlayGroupList()
Definition: v2dvr.cpp:1214
V2Dvr::GetRecordSchedule
static V2RecRule * GetRecordSchedule(uint RecordId, const QString &Template, int RecordedId, int ChanId, const QDateTime &StartTime, bool MakeOverride)
Definition: v2dvr.cpp:1807
V2Dvr::GetRecordedList
V2ProgramList * GetRecordedList(bool Descending, int StartIndex, int Count, const QString &TitleRegEx, const QString &RecGroup, const QString &StorageGroup, const QString &Category, const QString &Sort, bool IgnoreLiveTV, bool IgnoreDeleted, bool IncChannel, bool Details, bool IncCast, bool IncArtWork, bool IncRecording)
Definition: v2dvr.cpp:128
V2Dvr::DeleteRecording
static bool DeleteRecording(int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)
Definition: v2dvr.cpp:590
v2programList.h
v2markupList.h
AutoExpire
Used to expire recordings to make space for new recordings.
Definition: autoexpire.h:60
V2ProgramList
Definition: v2programList.h:22
V2Dvr::DupInToString
static QString DupInToString(const QString &DupIn)
Definition: v2dvr.cpp:1975
V2Dvr::GetRecRuleFilterList
static V2RecRuleFilterList * GetRecRuleFilterList()
Definition: v2dvr.cpp:1223
V2EncoderList
Definition: v2encoderList.h:20
V2Dvr::RecTypeToDescription
static QString RecTypeToDescription(const QString &RecType)
Definition: v2dvr.cpp:1965
V2Dvr::GetSavedBookmark
static long GetSavedBookmark(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
Definition: v2dvr.cpp:769
V2Dvr::SetSavedBookmark
static bool SetSavedBookmark(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType, long Offset)
Definition: v2dvr.cpp:853
V2Dvr::GetProgramCategories
static QStringList GetProgramCategories(bool OnlyRecorded)
Definition: v2dvr.cpp:1179
Action
An action (for this plugin) consists of a description, and a set of key sequences.
Definition: action.h:40
V2Dvr::GetConflictList
static V2ProgramList * GetConflictList(int StartIndex, int Count, int RecordId)
Definition: v2dvr.cpp:1321
V2Dvr::EnableRecordSchedule
static bool EnableRecordSchedule(uint RecordId)
Definition: v2dvr.cpp:1860
v2cutList.h
V2Dvr::RecStatusToDescription
static QString RecStatusToDescription(const QString &RecStatus, int RecType, const QDateTime &StartTime)
Definition: v2dvr.cpp:1937
V2Dvr
Definition: v2dvr.h:42
V2Dvr::DisableRecordSchedule
static bool DisableRecordSchedule(uint RecordId)
Definition: v2dvr.cpp:1880
V2Dvr::RegisterCustomTypes
static void RegisterCustomTypes()
V2Dvr::AddDontRecordSchedule
static bool AddDontRecordSchedule(int ChanId, const QDateTime &StartTime, bool NeverRecord)
Definition: v2dvr.cpp:1717
V2Dvr::UnDeleteRecording
static bool UnDeleteRecording(int RecordedId, int ChanId, const QDateTime &StartTime)
Definition: v2dvr.cpp:625
v2titleInfoList.h
V2Dvr::GetRecorded
static V2Program * GetRecorded(int RecordedId, int ChanId, const QDateTime &StartTime)
Definition: v2dvr.cpp:368
V2Dvr::RecStatusToString
static QString RecStatusToString(const QString &RecStatus)
Definition: v2dvr.cpp:1921
V2Dvr::UpdateRecordedWatchedStatus
static bool UpdateRecordedWatchedStatus(int RecordedId, int ChanId, const QDateTime &StartTime, bool Watched)
Definition: v2dvr.cpp:738
V2RecRuleFilterList
Definition: v2recRuleFilterList.h:12
V2Dvr::GetRecordScheduleList
static V2RecRuleList * GetRecordScheduleList(int StartIndex, int Count, const QString &Sort, bool Descending)
Definition: v2dvr.cpp:1745
v2encoderList.h
V2CutList
Definition: v2cutList.h:21
V2Dvr::GetRecStorageGroupList
static QStringList GetRecStorageGroupList()
Definition: v2dvr.cpp:1205
V2Dvr::SetLastPlayPos
static bool SetLastPlayPos(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType, long Offset)
Definition: v2dvr.cpp:894
V2Dvr::GetRecordedMarkup
static V2MarkupList * GetRecordedMarkup(int RecordedId)
Definition: v2dvr.cpp:1024
AutoTranscode
Definition: recordingprofile.cpp:1177
V2Dvr::GetExpiringList
static V2ProgramList * GetExpiringList(int StartIndex, int Count)
Definition: v2dvr.cpp:84
uint
unsigned int uint
Definition: compat.h:81
V2Dvr::DupMethodToString
static QString DupMethodToString(const QString &DupMethod)
Definition: v2dvr.cpp:1989
v2recRuleList.h
MythHTTPService
Definition: mythhttpservice.h:19
PlayGroup
Definition: playgroup.h:11
Stars
@ Stars
Definition: synaesthesia.h:26
V2Dvr::AddRecordSchedule
static uint AddRecordSchedule(const QString &Title, const QString &Subtitle, const QString &Description, const QString &Category, const QDateTime &StartTime, const QDateTime &EndTime, const QString &SeriesId, const QString &ProgramId, int ChanId, const QString &Station, int FindDay, QTime FindTime, int ParentId, bool Inactive, uint Season, uint Episode, const QString &Inetref, QString Type, QString SearchType, int RecPriority, uint PreferredInput, int StartOffset, int EndOffset, const QDateTime &LastRecorded, QString DupMethod, QString DupIn, bool NewEpisOnly, uint Filter, QString RecProfile, QString RecGroup, QString StorageGroup, QString PlayGroup, bool AutoExpire, int MaxEpisodes, bool MaxNewest, bool AutoCommflag, bool AutoTranscode, bool AutoMetaLookup, bool AutoUserJob1, bool AutoUserJob2, bool AutoUserJob3, bool AutoUserJob4, int Transcoder)
Definition: v2dvr.cpp:1381
V2Dvr::GetOldRecordedList
static V2ProgramList * GetOldRecordedList(bool Descending, int StartIndex, int Count, const QDateTime &StartTime, const QDateTime &EndTime, const QString &Title, const QString &SeriesId, int RecordId, const QString &Sort)
Definition: v2dvr.cpp:251
V2Dvr::RemoveRecordSchedule
static bool RemoveRecordSchedule(uint RecordId)
Definition: v2dvr.cpp:1702
V2Dvr::~V2Dvr
~V2Dvr() override=default
V2Dvr::RescheduleRecordings
static bool RescheduleRecordings(void)
Definition: v2dvr.cpp:708
V2Dvr::GetTitleList
static QStringList GetTitleList(const QString &RecGroup)
Definition: v2dvr.cpp:1250
mythhttpservice.h
V2Dvr::ReactivateRecording
static bool ReactivateRecording(int RecordedId, int ChanId, const QDateTime &StartTime)
Definition: v2dvr.cpp:682
V2Dvr::RecTypeToString
static QString RecTypeToString(const QString &RecType)
Definition: v2dvr.cpp:1955
V2Dvr::UpdateRecordSchedule
static bool UpdateRecordSchedule(uint RecordId, const QString &Title, const QString &Subtitle, const QString &Description, const QString &Category, const QDateTime &StartTime, const QDateTime &EndTime, const QString &SeriesId, const QString &ProgramId, int ChanId, const QString &Station, int FindDay, QTime FindTime, bool Inactive, uint Season, uint Episode, const QString &Inetref, QString Type, QString SearchType, int RecPriority, uint PreferredInput, int StartOffset, int EndOffset, QString DupMethod, QString DupIn, bool NewEpisOnly, uint Filter, QString RecProfile, QString RecGroup, QString StorageGroup, QString PlayGroup, bool AutoExpire, int MaxEpisodes, bool MaxNewest, bool AutoCommflag, bool AutoTranscode, bool AutoMetaLookup, bool AutoUserJob1, bool AutoUserJob2, bool AutoUserJob3, bool AutoUserJob4, int Transcoder)
Definition: v2dvr.cpp:1535
V2Dvr::GetLastPlayPos
static long GetLastPlayPos(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
Definition: v2dvr.cpp:811
v2recRuleFilterList.h
V2Dvr::AddRecordedCredits
static bool AddRecordedCredits(int RecordedId, const QString &Cast)
Definition: v2dvr.cpp:392
V2Dvr::StopRecording
static bool StopRecording(int RecordedId)
Definition: v2dvr.cpp:656
V2Dvr::GetEncoderList
static V2EncoderList * GetEncoderList()
Definition: v2dvr.cpp:1127
V2Dvr::GetTitleInfoList
static V2TitleInfoList * GetTitleInfoList()
Definition: v2dvr.cpp:1286
V2Dvr::DupInToDescription
static QString DupInToDescription(const QString &DupIn)
Definition: v2dvr.cpp:1982
V2Program
Definition: v2programAndChannel.h:105
V2Dvr::GetInputList
static V2InputList * GetInputList()
Definition: v2dvr.cpp:1138
StorageGroup
Definition: storagegroup.h:11
V2Dvr::DupMethodToDescription
static QString DupMethodToDescription(const QString &DupMethod)
Definition: v2dvr.cpp:1995
RecStatus
Definition: recordingstatus.h:11
V2Dvr::GetRecGroupList
static QStringList GetRecGroupList()
Definition: v2dvr.cpp:1156
V2Dvr::UpdateRecordedMetadata
bool UpdateRecordedMetadata(uint RecordedId, bool AutoExpire, long BookmarkOffset, const QString &BookmarkOffsetType, bool Damaged, const QString &Description, uint Episode, const QString &Inetref, QDate OriginalAirDate, bool Preserve, uint Season, uint Stars, const QString &SubTitle, const QString &Title, bool Watched)
Definition: v2dvr.cpp:2110
V2Dvr::RecordedIdForKey
static int RecordedIdForKey(int ChanId, const QDateTime &StartTime)
Definition: v2dvr.cpp:1900
V2Dvr::GetRecordedCommBreak
static V2CutList * GetRecordedCommBreak(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
Definition: v2dvr.cpp:961
V2Dvr::GetUpcomingList
static V2ProgramList * GetUpcomingList(int StartIndex, int Count, bool ShowAll, int RecordId, const QString &RecStatus)
Definition: v2dvr.cpp:1343
V2Dvr::GetRecordedCutList
static V2CutList * GetRecordedCutList(int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
Definition: v2dvr.cpp:928
V2RecRuleList
Definition: v2recRuleList.h:11
V2MarkupList
Definition: v2markupList.h:21
V2Dvr::RemoveRecorded
static bool RemoveRecorded(int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)
Definition: v2dvr.cpp:581
V2TitleInfoList
Definition: v2titleInfoList.h:20
V2Dvr::AddRecordedProgram
static int AddRecordedProgram(const QString &Program)
Definition: v2dvr.cpp:421
V2Dvr::ManageJobQueue
int ManageJobQueue(const QString &Action, const QString &JobName, int JobId, int RecordedId, QDateTime JobStartTime, QString RemoteHost, QString JobArgs)
Definition: v2dvr.cpp:2005
V2RecRule
Definition: v2recRule.h:12
V2Dvr::V2Dvr
V2Dvr()
Definition: v2dvr.cpp:79
V2Dvr::SetRecordedMarkup
static bool SetRecordedMarkup(int RecordedId, const QString &MarkupList)
Definition: v2dvr.cpp:1069