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, bool IgnoreLiveTV, bool IgnoreDeleted)
 
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, const QString &Template, int RecordedId, int ChanId, const 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 (const QString &RecType)
 
QString RecTypeToDescription (const QString &RecType)
 
QString DupMethodToString (const QString &DupMethod)
 
QString DupMethodToDescription (const QString &DupMethod)
 
QString DupInToString (const QString &DupIn)
 
QString DupInToDescription (const 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 325 of file dvr.h.

Constructor & Destructor Documentation

◆ ScriptableDvr()

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

Definition at line 336 of file dvr.h.

Member Function Documentation

◆ GetExpiringList

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

Definition at line 343 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,
bool  IgnoreLiveTV,
bool  IgnoreDeleted 
)
inlineslot

Definition at line 351 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 371 of file dvr.h.

◆ GetRecorded

QObject* ScriptableDvr::GetRecorded ( int  RecordedId)
inlineslot

Definition at line 388 of file dvr.h.

◆ RemoveRecorded

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

Definition at line 395 of file dvr.h.

◆ DeleteRecording

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

Definition at line 405 of file dvr.h.

◆ UnDeleteRecording

bool ScriptableDvr::UnDeleteRecording ( int  RecordedId)
inlineslot

Definition at line 415 of file dvr.h.

◆ GetConflictList

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

Definition at line 422 of file dvr.h.

◆ GetUpcomingList

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

Definition at line 431 of file dvr.h.

◆ GetEncoderList

QObject* ScriptableDvr::GetEncoderList ( )
inlineslot

Definition at line 443 of file dvr.h.

◆ GetInputList

QObject* ScriptableDvr::GetInputList ( )
inlineslot

Definition at line 450 of file dvr.h.

◆ GetRecGroupList

QStringList ScriptableDvr::GetRecGroupList ( )
inlineslot

Definition at line 457 of file dvr.h.

◆ GetRecStorageGroupList

QStringList ScriptableDvr::GetRecStorageGroupList ( )
inlineslot

Definition at line 464 of file dvr.h.

◆ GetPlayGroupList

QStringList ScriptableDvr::GetPlayGroupList ( )
inlineslot

Definition at line 471 of file dvr.h.

◆ GetRecRuleFilterList

QObject* ScriptableDvr::GetRecRuleFilterList ( )
inlineslot

Definition at line 478 of file dvr.h.

◆ GetTitleList

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

Definition at line 485 of file dvr.h.

◆ GetTitleInfoList

QObject* ScriptableDvr::GetTitleInfoList ( )
inlineslot

Definition at line 492 of file dvr.h.

◆ AddRecordSchedule

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

Definition at line 499 of file dvr.h.

◆ UpdateRecordSchedule

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

Definition at line 529 of file dvr.h.

◆ RemoveRecordSchedule

bool ScriptableDvr::RemoveRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 563 of file dvr.h.

◆ AddDontRecordSchedule

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

Definition at line 570 of file dvr.h.

◆ GetRecordScheduleList

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

Definition at line 579 of file dvr.h.

◆ GetRecordSchedule

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

Definition at line 589 of file dvr.h.

◆ EnableRecordSchedule

bool ScriptableDvr::EnableRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 602 of file dvr.h.

◆ DisableRecordSchedule

bool ScriptableDvr::DisableRecordSchedule ( uint  RecordId)
inlineslot

Definition at line 609 of file dvr.h.

◆ RecStatusToString

QString ScriptableDvr::RecStatusToString ( int  RecStatus)
inlineslot

Definition at line 616 of file dvr.h.

◆ RecStatusToDescription

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

Definition at line 623 of file dvr.h.

◆ RecTypeToString

QString ScriptableDvr::RecTypeToString ( const QString &  RecType)
inlineslot

Definition at line 634 of file dvr.h.

◆ RecTypeToDescription

QString ScriptableDvr::RecTypeToDescription ( const QString &  RecType)
inlineslot

Definition at line 641 of file dvr.h.

◆ DupMethodToString

QString ScriptableDvr::DupMethodToString ( const QString &  DupMethod)
inlineslot

Definition at line 648 of file dvr.h.

◆ DupMethodToDescription

QString ScriptableDvr::DupMethodToDescription ( const QString &  DupMethod)
inlineslot

Definition at line 655 of file dvr.h.

◆ DupInToString

QString ScriptableDvr::DupInToString ( const QString &  DupIn)
inlineslot

Definition at line 662 of file dvr.h.

◆ DupInToDescription

QString ScriptableDvr::DupInToDescription ( const QString &  DupIn)
inlineslot

Definition at line 669 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 676 of file dvr.h.

Member Data Documentation

◆ m_obj

Dvr ScriptableDvr::m_obj
private

◆ m_pEngine

QScriptEngine* ScriptableDvr::m_pEngine
private

Definition at line 332 of file dvr.h.

Referenced by ScriptableDvr().


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