MythTV  master
Public Slots | Public Member Functions | Private Attributes | List of all members
ScriptableDvr Class Reference

#include <dvr.h>

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

Public Slots

QObject * GetExpiringList (int StartIndex, int Count)
 
QObject * GetRecordedList (bool Descending, int StartIndex, int Count, const QString &TitleRegEx, const QString &RecGroup, const QString &StorageGroup, const QString &Category, const QString &Sort)
 
QObject * GetOldRecordedList (bool Descending, int StartIndex, int Count, const QDateTime &StartTime, const QDateTime &EndTime, const QString &Title, const QString &SeriesId, int RecordId, const QString &Sort)
 
QObject * GetRecorded (int RecordedId)
 
bool RemoveRecorded (int RecordedId, bool ForceDelete, bool AllowRerecord)
 
bool DeleteRecording (int RecordedId, bool ForceDelete, bool AllowRerecord)
 
bool UnDeleteRecording (int RecordedId)
 
QObject * GetConflictList (int StartIndex, int Count, int RecordId)
 
QObject * GetUpcomingList (int StartIndex, int Count, bool ShowAll, int RecordId, int RecStatus)
 
QObject * GetEncoderList ()
 
QObject * GetInputList ()
 
QStringList GetRecGroupList ()
 
QStringList GetRecStorageGroupList ()
 
QStringList GetPlayGroupList ()
 
QObject * GetRecRuleFilterList ()
 
QStringList GetTitleList (const QString &RecGroup)
 
QObject * GetTitleInfoList ()
 
uint AddRecordSchedule (DTC::RecRule *rule)
 
bool UpdateRecordSchedule (DTC::RecRule *rule)
 
bool RemoveRecordSchedule (uint RecordId)
 
bool AddDontRecordSchedule (int ChanId, const QDateTime &StartTime, bool NeverRecord)
 
QObject * GetRecordScheduleList (int StartIndex, int Count, const QString &Sort, bool Descending)
 
QObject * GetRecordSchedule (uint RecordId, QString Template, int RecordedId, int ChanId, QDateTime StartTime, bool MakeOverride)
 
bool EnableRecordSchedule (uint RecordId)
 
bool DisableRecordSchedule (uint RecordId)
 
QString RecStatusToString (int RecStatus)
 
QString RecStatusToDescription (int RecStatus, int RecType, const QDateTime &StartTime)
 
QString RecTypeToString (QString RecType)
 
QString RecTypeToDescription (QString RecType)
 
QString DupMethodToString (QString DupMethod)
 
QString DupMethodToDescription (QString DupMethod)
 
QString DupInToString (QString DupIn)
 
QString DupInToDescription (QString DupIn)
 
int ManageJobQueue (const QString &Action, const QString &JobName, int JobId, int RecordedId, QDateTime JobStartTime, QString RemoteHost, QString JobArgs)
 

Public Member Functions

Q_INVOKABLE ScriptableDvr (QScriptEngine *pEngine, QObject *parent=nullptr)
 

Private Attributes

Dvr m_obj
 
QScriptEngine * m_pEngine
 

Detailed Description

Definition at line 308 of file dvr.h.

Constructor & Destructor Documentation

◆ ScriptableDvr()

Q_INVOKABLE ScriptableDvr::ScriptableDvr ( QScriptEngine *  pEngine,
QObject *  parent = nullptr 
)
inline

Definition at line 319 of file dvr.h.

Member Function Documentation

◆ GetExpiringList

QObject* ScriptableDvr::GetExpiringList ( int  StartIndex,
int  Count 
)
inlineslot

Definition at line 326 of file dvr.h.

◆ GetRecordedList

QObject* ScriptableDvr::GetRecordedList ( bool  Descending,
int  StartIndex,
int  Count,
const QString &  TitleRegEx,
const QString &  RecGroup,
const QString &  StorageGroup,
const QString &  Category,
const QString &  Sort 
)
inlineslot

Definition at line 334 of file dvr.h.

◆ GetOldRecordedList

QObject* ScriptableDvr::GetOldRecordedList ( bool  Descending,
int  StartIndex,
int  Count,
const QDateTime &  StartTime,
const QDateTime &  EndTime,
const QString &  Title,
const QString &  SeriesId,
int  RecordId,
const QString &  Sort 
)
inlineslot

Definition at line 351 of file dvr.h.

◆ GetRecorded

QObject* ScriptableDvr::GetRecorded ( int  RecordedId)
inlineslot

Definition at line 368 of file dvr.h.

◆ RemoveRecorded

bool ScriptableDvr::RemoveRecorded ( int  RecordedId,
bool  ForceDelete,
bool  AllowRerecord 
)
inlineslot

Definition at line 375 of file dvr.h.

◆ DeleteRecording

bool ScriptableDvr::DeleteRecording ( int  RecordedId,
bool  ForceDelete,
bool  AllowRerecord 
)
inlineslot

Definition at line 385 of file dvr.h.

◆ UnDeleteRecording

bool ScriptableDvr::UnDeleteRecording ( int  RecordedId)
inlineslot

Definition at line 395 of file dvr.h.

◆ GetConflictList

QObject* ScriptableDvr::GetConflictList ( int  StartIndex,
int  Count,
int  RecordId 
)
inlineslot

Definition at line 402 of file dvr.h.

◆ GetUpcomingList

QObject* ScriptableDvr::GetUpcomingList ( int  StartIndex,
int  Count,
bool  ShowAll,
int  RecordId,
int  RecStatus 
)
inlineslot

Definition at line 411 of file dvr.h.

◆ GetEncoderList

QObject* ScriptableDvr::GetEncoderList ( )
inlineslot

Definition at line 423 of file dvr.h.

◆ GetInputList

QObject* ScriptableDvr::GetInputList ( void  )
inlineslot

Definition at line 430 of file dvr.h.

◆ GetRecGroupList

QStringList ScriptableDvr::GetRecGroupList ( )
inlineslot

Definition at line 437 of file dvr.h.

◆ GetRecStorageGroupList

QStringList ScriptableDvr::GetRecStorageGroupList ( )
inlineslot

Definition at line 444 of file dvr.h.

◆ GetPlayGroupList

QStringList ScriptableDvr::GetPlayGroupList ( )
inlineslot

Definition at line 451 of file dvr.h.

◆ GetRecRuleFilterList

QObject* ScriptableDvr::GetRecRuleFilterList ( )
inlineslot

Definition at line 458 of file dvr.h.

◆ GetTitleList

QStringList ScriptableDvr::GetTitleList ( const QString &  RecGroup)
inlineslot

Definition at line 465 of file dvr.h.

◆ GetTitleInfoList

QObject* ScriptableDvr::GetTitleInfoList ( )
inlineslot

Definition at line 472 of file dvr.h.

◆ AddRecordSchedule

uint ScriptableDvr::AddRecordSchedule ( DTC::RecRule rule)
inlineslot

Definition at line 479 of file dvr.h.

◆ UpdateRecordSchedule

bool ScriptableDvr::UpdateRecordSchedule ( DTC::RecRule rule)
inlineslot

Definition at line 507 of file dvr.h.

◆ RemoveRecordSchedule

bool ScriptableDvr::RemoveRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 540 of file dvr.h.

◆ AddDontRecordSchedule

bool ScriptableDvr::AddDontRecordSchedule ( int  ChanId,
const QDateTime &  StartTime,
bool  NeverRecord 
)
inlineslot

Definition at line 547 of file dvr.h.

◆ GetRecordScheduleList

QObject* ScriptableDvr::GetRecordScheduleList ( int  StartIndex,
int  Count,
const QString &  Sort,
bool  Descending 
)
inlineslot

Definition at line 556 of file dvr.h.

◆ GetRecordSchedule

QObject* ScriptableDvr::GetRecordSchedule ( uint  RecordId,
QString  Template,
int  RecordedId,
int  ChanId,
QDateTime  StartTime,
bool  MakeOverride 
)
inlineslot

Definition at line 566 of file dvr.h.

◆ EnableRecordSchedule

bool ScriptableDvr::EnableRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 579 of file dvr.h.

◆ DisableRecordSchedule

bool ScriptableDvr::DisableRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 586 of file dvr.h.

◆ RecStatusToString

QString ScriptableDvr::RecStatusToString ( int  RecStatus)
inlineslot

Definition at line 593 of file dvr.h.

◆ RecStatusToDescription

QString ScriptableDvr::RecStatusToDescription ( int  RecStatus,
int  RecType,
const QDateTime &  StartTime 
)
inlineslot

Definition at line 600 of file dvr.h.

◆ RecTypeToString

QString ScriptableDvr::RecTypeToString ( QString  RecType)
inlineslot

Definition at line 611 of file dvr.h.

◆ RecTypeToDescription

QString ScriptableDvr::RecTypeToDescription ( QString  RecType)
inlineslot

Definition at line 618 of file dvr.h.

◆ DupMethodToString

QString ScriptableDvr::DupMethodToString ( QString  DupMethod)
inlineslot

Definition at line 625 of file dvr.h.

◆ DupMethodToDescription

QString ScriptableDvr::DupMethodToDescription ( QString  DupMethod)
inlineslot

Definition at line 632 of file dvr.h.

◆ DupInToString

QString ScriptableDvr::DupInToString ( QString  DupIn)
inlineslot

Definition at line 639 of file dvr.h.

◆ DupInToDescription

QString ScriptableDvr::DupInToDescription ( QString  DupIn)
inlineslot

Definition at line 646 of file dvr.h.

◆ ManageJobQueue

int ScriptableDvr::ManageJobQueue ( const QString &  Action,
const QString &  JobName,
int  JobId,
int  RecordedId,
QDateTime  JobStartTime,
QString  RemoteHost,
QString  JobArgs 
)
inlineslot

Definition at line 653 of file dvr.h.

Member Data Documentation

◆ m_obj

Dvr ScriptableDvr::m_obj
private

◆ m_pEngine

QScriptEngine* ScriptableDvr::m_pEngine
private

Definition at line 315 of file dvr.h.

Referenced by ScriptableDvr().


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