MythTV  master
Public Slots | Public Member Functions | List of all members
DvrServices Class Referenceabstract

#include <dvrServices.h>

Inheritance diagram for DvrServices:
Inheritance graph
[legend]
Collaboration diagram for DvrServices:
Collaboration graph
[legend]

Public Slots

virtual DTC::ProgramListGetExpiringList (int StartIndex, int Count)=0
 
virtual DTC::ProgramListGetRecordedList (bool Descending, int StartIndex, int Count, const QString &TitleRegEx, const QString &RecGroup, const QString &StorageGroup, const QString &Category, const QString &Sort)=0
 
virtual DTC::ProgramListGetOldRecordedList (bool Descending, int StartIndex, int Count, const QDateTime &StartTime, const QDateTime &EndTime, const QString &Title, const QString &SeriesId, int RecordId, const QString &Sort)=0
 
virtual DTC::ProgramGetRecorded (int RecordedId, int ChanId, const QDateTime &StartTime)=0
 
virtual bool RemoveRecorded (int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)=0
 
virtual bool DeleteRecording (int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)=0
 
virtual bool UnDeleteRecording (int RecordedId, int ChanId, const QDateTime &StartTime)=0
 
virtual bool StopRecording (int RecordedId)=0
 
virtual bool ReactivateRecording (int RecordedId, int ChanId, const QDateTime &StartTime)=0
 
virtual bool RescheduleRecordings (void)=0
 
virtual bool UpdateRecordedWatchedStatus (int RecordedId, int ChanId, const QDateTime &StartTime, bool Watched)=0
 
virtual long GetSavedBookmark (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)=0
 
virtual bool SetSavedBookmark (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType, long Offset)=0
 
virtual DTC::CutListGetRecordedCutList (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)=0
 
virtual DTC::CutListGetRecordedCommBreak (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)=0
 
virtual DTC::CutListGetRecordedSeek (int RecordedId, const QString &OffsetType)=0
 
virtual DTC::ProgramListGetConflictList (int StartIndex, int Count, int RecordId)=0
 
virtual DTC::ProgramListGetUpcomingList (int StartIndex, int Count, bool ShowAll, int RecordId, int RecStatus)=0
 
virtual DTC::EncoderListGetEncoderList ()=0
 
virtual DTC::InputListGetInputList ()=0
 
virtual QStringList GetRecGroupList ()=0
 
virtual QStringList GetProgramCategories (bool OnlyRecorded)=0
 
virtual QStringList GetRecStorageGroupList ()=0
 
virtual QStringList GetPlayGroupList ()=0
 
virtual DTC::RecRuleFilterListGetRecRuleFilterList ()=0
 
virtual QStringList GetTitleList (const QString &RecGroup)=0
 
virtual DTC::TitleInfoListGetTitleInfoList ()=0
 
virtual uint AddRecordSchedule (const QString &Title, const QString &Subtitle, const QString &Description, const QString &Category, QDateTime StartTime, 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, QString DupMethod, QString DupIn, 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)=0
 
virtual bool UpdateRecordSchedule (uint RecordId, QString Title, QString Subtitle, QString Description, QString Category, QDateTime StartTime, QDateTime EndTime, QString SeriesId, QString ProgramId, int ChanId, 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, 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)=0
 
virtual bool RemoveRecordSchedule (uint RecordId)=0
 
virtual bool AddDontRecordSchedule (int ChanId, const QDateTime &StartTime, bool NeverRecord)=0
 
virtual DTC::RecRuleListGetRecordScheduleList (int StartIndex, int Count, const QString &Sort, bool Descending)=0
 
virtual DTC::RecRuleGetRecordSchedule (uint RecordId, QString Template, int RecordedId, int ChanId, QDateTime StartTime, bool MakeOverride)=0
 
virtual bool EnableRecordSchedule (uint RecordId)=0
 
virtual bool DisableRecordSchedule (uint RecordId)=0
 
virtual int RecordedIdForKey (int ChanId, const QDateTime &StartTime)=0
 
virtual int RecordedIdForPathname (const QString &Pathname)=0
 
virtual QString RecStatusToString (int RecStatus)=0
 
virtual QString RecStatusToDescription (int RecStatus, int RecType, const QDateTime &StartTime)=0
 
virtual QString RecTypeToString (QString RecType)=0
 
virtual QString RecTypeToDescription (QString RecType)=0
 
virtual QString DupMethodToString (QString DupMethod)=0
 
virtual QString DupMethodToDescription (QString DupMethod)=0
 
virtual QString DupInToString (QString DupIn)=0
 
virtual QString DupInToDescription (QString DupIn)=0
 
virtual int ManageJobQueue (const QString &Action, const QString &JobName, int JobId, int RecordedId, QDateTime JobStartTime, QString RemoteHost, QString JobArgs)=0
 

Public Member Functions

 DvrServices (QObject *parent=nullptr)
 
- Public Member Functions inherited from Service
 Service (QObject *parent=nullptr)
 
virtual QVariant ConvertToVariant (int nType, void *pValue)
 
virtual void * ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue)
 

Additional Inherited Members

- Static Public Member Functions inherited from Service
static bool ToBool (const QString &sVal)
 
- Public Attributes inherited from Service
QList< QString > m_parsedParams
 

Detailed Description

Definition at line 45 of file dvrServices.h.

Constructor & Destructor Documentation

◆ DvrServices()

DvrServices::DvrServices ( QObject *  parent = nullptr)
inline

Definition at line 68 of file dvrServices.h.

Member Function Documentation

◆ GetExpiringList

virtual DTC::ProgramList* DvrServices::GetExpiringList ( int  StartIndex,
int  Count 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordedList

virtual DTC::ProgramList* DvrServices::GetRecordedList ( bool  Descending,
int  StartIndex,
int  Count,
const QString &  TitleRegEx,
const QString &  RecGroup,
const QString &  StorageGroup,
const QString &  Category,
const QString &  Sort 
)
pure virtualslot

Implemented in Dvr.

◆ GetOldRecordedList

virtual DTC::ProgramList* DvrServices::GetOldRecordedList ( bool  Descending,
int  StartIndex,
int  Count,
const QDateTime &  StartTime,
const QDateTime &  EndTime,
const QString &  Title,
const QString &  SeriesId,
int  RecordId,
const QString &  Sort 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecorded

virtual DTC::Program* DvrServices::GetRecorded ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Dvr.

◆ RemoveRecorded

virtual bool DvrServices::RemoveRecorded ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  ForceDelete,
bool  AllowRerecord 
)
pure virtualslot

Implemented in Dvr.

◆ DeleteRecording

virtual bool DvrServices::DeleteRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  ForceDelete,
bool  AllowRerecord 
)
pure virtualslot

Implemented in Dvr.

◆ UnDeleteRecording

virtual bool DvrServices::UnDeleteRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Dvr.

◆ StopRecording

virtual bool DvrServices::StopRecording ( int  RecordedId)
pure virtualslot

Implemented in Dvr.

◆ ReactivateRecording

virtual bool DvrServices::ReactivateRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Dvr.

◆ RescheduleRecordings

virtual bool DvrServices::RescheduleRecordings ( void  )
pure virtualslot

Implemented in Dvr.

◆ UpdateRecordedWatchedStatus

virtual bool DvrServices::UpdateRecordedWatchedStatus ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  Watched 
)
pure virtualslot

Implemented in Dvr.

◆ GetSavedBookmark

virtual long DvrServices::GetSavedBookmark ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
pure virtualslot

Implemented in Dvr.

◆ SetSavedBookmark

virtual bool DvrServices::SetSavedBookmark ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType,
long  Offset 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordedCutList

virtual DTC::CutList* DvrServices::GetRecordedCutList ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordedCommBreak

virtual DTC::CutList* DvrServices::GetRecordedCommBreak ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordedSeek

virtual DTC::CutList* DvrServices::GetRecordedSeek ( int  RecordedId,
const QString &  OffsetType 
)
pure virtualslot

Implemented in Dvr.

◆ GetConflictList

virtual DTC::ProgramList* DvrServices::GetConflictList ( int  StartIndex,
int  Count,
int  RecordId 
)
pure virtualslot

Implemented in Dvr.

◆ GetUpcomingList

virtual DTC::ProgramList* DvrServices::GetUpcomingList ( int  StartIndex,
int  Count,
bool  ShowAll,
int  RecordId,
int  RecStatus 
)
pure virtualslot

Implemented in Dvr.

◆ GetEncoderList

virtual DTC::EncoderList* DvrServices::GetEncoderList ( )
pure virtualslot

Implemented in Dvr.

◆ GetInputList

virtual DTC::InputList* DvrServices::GetInputList ( )
pure virtualslot

Implemented in Dvr.

◆ GetRecGroupList

virtual QStringList DvrServices::GetRecGroupList ( )
pure virtualslot

Implemented in Dvr.

◆ GetProgramCategories

virtual QStringList DvrServices::GetProgramCategories ( bool  OnlyRecorded)
pure virtualslot

Implemented in Dvr.

◆ GetRecStorageGroupList

virtual QStringList DvrServices::GetRecStorageGroupList ( )
pure virtualslot

Implemented in Dvr.

◆ GetPlayGroupList

virtual QStringList DvrServices::GetPlayGroupList ( )
pure virtualslot

Implemented in Dvr.

◆ GetRecRuleFilterList

virtual DTC::RecRuleFilterList* DvrServices::GetRecRuleFilterList ( )
pure virtualslot

Implemented in Dvr.

◆ GetTitleList

virtual QStringList DvrServices::GetTitleList ( const QString &  RecGroup)
pure virtualslot

Implemented in Dvr.

◆ GetTitleInfoList

virtual DTC::TitleInfoList* DvrServices::GetTitleInfoList ( )
pure virtualslot

Implemented in Dvr.

◆ AddRecordSchedule

virtual uint DvrServices::AddRecordSchedule ( const QString &  Title,
const QString &  Subtitle,
const QString &  Description,
const QString &  Category,
QDateTime  StartTime,
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,
QString  DupMethod,
QString  DupIn,
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 
)
pure virtualslot

Implemented in Dvr.

◆ UpdateRecordSchedule

virtual bool DvrServices::UpdateRecordSchedule ( uint  RecordId,
QString  Title,
QString  Subtitle,
QString  Description,
QString  Category,
QDateTime  StartTime,
QDateTime  EndTime,
QString  SeriesId,
QString  ProgramId,
int  ChanId,
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,
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 
)
pure virtualslot

Implemented in Dvr.

◆ RemoveRecordSchedule

virtual bool DvrServices::RemoveRecordSchedule ( uint  RecordId)
pure virtualslot

Implemented in Dvr.

◆ AddDontRecordSchedule

virtual bool DvrServices::AddDontRecordSchedule ( int  ChanId,
const QDateTime &  StartTime,
bool  NeverRecord 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordScheduleList

virtual DTC::RecRuleList* DvrServices::GetRecordScheduleList ( int  StartIndex,
int  Count,
const QString &  Sort,
bool  Descending 
)
pure virtualslot

Implemented in Dvr.

◆ GetRecordSchedule

virtual DTC::RecRule* DvrServices::GetRecordSchedule ( uint  RecordId,
QString  Template,
int  RecordedId,
int  ChanId,
QDateTime  StartTime,
bool  MakeOverride 
)
pure virtualslot

Implemented in Dvr.

◆ EnableRecordSchedule

virtual bool DvrServices::EnableRecordSchedule ( uint  RecordId)
pure virtualslot

Implemented in Dvr.

◆ DisableRecordSchedule

virtual bool DvrServices::DisableRecordSchedule ( uint  RecordId)
pure virtualslot

Implemented in Dvr.

◆ RecordedIdForKey

virtual int DvrServices::RecordedIdForKey ( int  ChanId,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Dvr.

◆ RecordedIdForPathname

virtual int DvrServices::RecordedIdForPathname ( const QString &  Pathname)
pure virtualslot

Implemented in Dvr.

◆ RecStatusToString

virtual QString DvrServices::RecStatusToString ( int  RecStatus)
pure virtualslot

Implemented in Dvr.

◆ RecStatusToDescription

virtual QString DvrServices::RecStatusToDescription ( int  RecStatus,
int  RecType,
const QDateTime &  StartTime 
)
pure virtualslot

Implemented in Dvr.

◆ RecTypeToString

virtual QString DvrServices::RecTypeToString ( QString  RecType)
pure virtualslot

Implemented in Dvr.

◆ RecTypeToDescription

virtual QString DvrServices::RecTypeToDescription ( QString  RecType)
pure virtualslot

Implemented in Dvr.

◆ DupMethodToString

virtual QString DvrServices::DupMethodToString ( QString  DupMethod)
pure virtualslot

Implemented in Dvr.

◆ DupMethodToDescription

virtual QString DvrServices::DupMethodToDescription ( QString  DupMethod)
pure virtualslot

Implemented in Dvr.

◆ DupInToString

virtual QString DvrServices::DupInToString ( QString  DupIn)
pure virtualslot

Implemented in Dvr.

◆ DupInToDescription

virtual QString DvrServices::DupInToDescription ( QString  DupIn)
pure virtualslot

Implemented in Dvr.

◆ ManageJobQueue

virtual int DvrServices::ManageJobQueue ( const QString &  Action,
const QString &  JobName,
int  JobId,
int  RecordedId,
QDateTime  JobStartTime,
QString  RemoteHost,
QString  JobArgs 
)
pure virtualslot

Implemented in Dvr.


The documentation for this class was generated from the following file: