MythTV  master
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
V2Dvr Class Reference

#include <v2dvr.h>

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

Public Slots

static V2ProgramListGetExpiringList (int StartIndex, int Count)
 
V2ProgramListGetRecordedList (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)
 
static V2ProgramListGetOldRecordedList (bool Descending, int StartIndex, int Count, const QDateTime &StartTime, const QDateTime &EndTime, const QString &Title, const QString &SeriesId, int RecordId, const QString &Sort)
 
static V2ProgramGetRecorded (int RecordedId, int ChanId, const QDateTime &StartTime)
 
static bool AddRecordedCredits (int RecordedId, const QString &Cast)
 
static int AddRecordedProgram (const QString &Program)
 
static bool RemoveRecorded (int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)
 
static bool DeleteRecording (int RecordedId, int ChanId, const QDateTime &StartTime, bool ForceDelete, bool AllowRerecord)
 
static bool UnDeleteRecording (int RecordedId, int ChanId, const QDateTime &StartTime)
 
static bool StopRecording (int RecordedId)
 
static bool ReactivateRecording (int RecordedId, int ChanId, const QDateTime &StartTime)
 
static bool RescheduleRecordings (void)
 
static bool AllowReRecord (int RecordedId)
 
static bool UpdateRecordedWatchedStatus (int RecordedId, int ChanId, const QDateTime &StartTime, bool Watched)
 
static long GetSavedBookmark (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
 
static long GetLastPlayPos (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
 
static bool SetSavedBookmark (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType, long Offset)
 
static bool SetLastPlayPos (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType, long Offset)
 
static V2CutListGetRecordedCutList (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
 
static V2CutListGetRecordedCommBreak (int RecordedId, int ChanId, const QDateTime &StartTime, const QString &OffsetType)
 
static V2CutListGetRecordedSeek (int RecordedId, const QString &OffsetType)
 
static V2MarkupListGetRecordedMarkup (int RecordedId)
 
static bool SetRecordedMarkup (int RecordedId, const QString &MarkupList)
 
static V2ProgramListGetConflictList (int StartIndex, int Count, int RecordId)
 
static V2ProgramListGetUpcomingList (int StartIndex, int Count, bool ShowAll, int RecordId, int RecStatus)
 
static V2EncoderListGetEncoderList ()
 
static V2InputListGetInputList ()
 
static QStringList GetRecGroupList ()
 
static QStringList GetProgramCategories (bool OnlyRecorded)
 
static QStringList GetRecStorageGroupList ()
 
static QStringList GetPlayGroupList ()
 
static V2RecRuleFilterListGetRecRuleFilterList ()
 
static QStringList GetTitleList (const QString &RecGroup)
 
static V2TitleInfoListGetTitleInfoList ()
 
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)
 
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)
 
static bool RemoveRecordSchedule (uint RecordId)
 
static bool AddDontRecordSchedule (int ChanId, const QDateTime &StartTime, bool NeverRecord)
 
static V2RecRuleListGetRecordScheduleList (int StartIndex, int Count, const QString &Sort, bool Descending)
 
static V2RecRuleGetRecordSchedule (uint RecordId, const QString &Template, int RecordedId, int ChanId, const QDateTime &StartTime, bool MakeOverride)
 
static bool EnableRecordSchedule (uint RecordId)
 
static bool DisableRecordSchedule (uint RecordId)
 
static int RecordedIdForKey (int ChanId, const QDateTime &StartTime)
 
static int RecordedIdForPathname (const QString &Pathname)
 
static QString RecStatusToString (int RecStatus)
 
static QString RecStatusToDescription (int RecStatus, int RecType, const QDateTime &StartTime)
 
static QString RecTypeToString (const QString &RecType)
 
static QString RecTypeToDescription (const QString &RecType)
 
static QString DupMethodToString (const QString &DupMethod)
 
static QString DupMethodToDescription (const QString &DupMethod)
 
static QString DupInToString (const QString &DupIn)
 
static QString DupInToDescription (const QString &DupIn)
 
int ManageJobQueue (const QString &Action, const QString &JobName, int JobId, int RecordedId, QDateTime JobStartTime, QString RemoteHost, QString JobArgs)
 
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)
 

Public Member Functions

 V2Dvr ()
 
 ~V2Dvr () override=default
 
- Public Member Functions inherited from MythHTTPService
 MythHTTPService (MythHTTPMetaService *MetaService)
 
 ~MythHTTPService () override=default
 
virtual HTTPResponse HTTPRequest (const HTTPRequest2 &Request)
 Respond to a valid HTTPRequest. More...
 
QString & Name ()
 

Static Public Member Functions

static void RegisterCustomTypes ()
 
- Static Public Member Functions inherited from MythHTTPService
template<class T >
static HTTPServicePtr Create ()
 

Additional Inherited Members

- Protected Member Functions inherited from MythHTTPService
bool HAS_PARAMv2 (const QString &p)
 
- Protected Attributes inherited from MythHTTPService
QString m_name
 
MythHTTPMetaServicem_staticMetaService { nullptr }
 
HTTPRequest2 m_request {nullptr}
 

Detailed Description

Definition at line 42 of file v2dvr.h.

Constructor & Destructor Documentation

◆ V2Dvr()

V2Dvr::V2Dvr ( )

Definition at line 79 of file v2dvr.cpp.

◆ ~V2Dvr()

V2Dvr::~V2Dvr ( )
overridedefault

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Dvr::RegisterCustomTypes ( )
static

◆ GetExpiringList

V2ProgramList * V2Dvr::GetExpiringList ( int  StartIndex,
int  Count 
)
staticslot

Definition at line 84 of file v2dvr.cpp.

◆ GetRecordedList

V2ProgramList * V2Dvr::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 
)
slot

Definition at line 128 of file v2dvr.cpp.

◆ GetOldRecordedList

V2ProgramList * V2Dvr::GetOldRecordedList ( bool  Descending,
int  StartIndex,
int  Count,
const QDateTime &  StartTime,
const QDateTime &  EndTime,
const QString &  Title,
const QString &  SeriesId,
int  RecordId,
const QString &  Sort 
)
staticslot

Definition at line 251 of file v2dvr.cpp.

◆ GetRecorded

V2Program * V2Dvr::GetRecorded ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 368 of file v2dvr.cpp.

◆ AddRecordedCredits

bool V2Dvr::AddRecordedCredits ( int  RecordedId,
const QString &  Cast 
)
staticslot

Definition at line 392 of file v2dvr.cpp.

◆ AddRecordedProgram

int V2Dvr::AddRecordedProgram ( const QString &  Program)
staticslot

Definition at line 421 of file v2dvr.cpp.

◆ RemoveRecorded

bool V2Dvr::RemoveRecorded ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  ForceDelete,
bool  AllowRerecord 
)
staticslot

Definition at line 581 of file v2dvr.cpp.

◆ DeleteRecording

bool V2Dvr::DeleteRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  ForceDelete,
bool  AllowRerecord 
)
staticslot

Definition at line 590 of file v2dvr.cpp.

Referenced by RemoveRecorded().

◆ UnDeleteRecording

bool V2Dvr::UnDeleteRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 625 of file v2dvr.cpp.

◆ StopRecording

bool V2Dvr::StopRecording ( int  RecordedId)
staticslot

Definition at line 656 of file v2dvr.cpp.

◆ ReactivateRecording

bool V2Dvr::ReactivateRecording ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 682 of file v2dvr.cpp.

◆ RescheduleRecordings

bool V2Dvr::RescheduleRecordings ( void  )
staticslot

Definition at line 708 of file v2dvr.cpp.

◆ AllowReRecord

bool V2Dvr::AllowReRecord ( int  RecordedId)
staticslot

Definition at line 719 of file v2dvr.cpp.

◆ UpdateRecordedWatchedStatus

bool V2Dvr::UpdateRecordedWatchedStatus ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  Watched 
)
staticslot

Definition at line 738 of file v2dvr.cpp.

◆ GetSavedBookmark

long V2Dvr::GetSavedBookmark ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
staticslot

Definition at line 769 of file v2dvr.cpp.

◆ GetLastPlayPos

long V2Dvr::GetLastPlayPos ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
staticslot

Definition at line 811 of file v2dvr.cpp.

◆ SetSavedBookmark

bool V2Dvr::SetSavedBookmark ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType,
long  Offset 
)
staticslot

Definition at line 853 of file v2dvr.cpp.

◆ SetLastPlayPos

bool V2Dvr::SetLastPlayPos ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType,
long  Offset 
)
staticslot

Definition at line 894 of file v2dvr.cpp.

◆ GetRecordedCutList

V2CutList * V2Dvr::GetRecordedCutList ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
staticslot

Definition at line 928 of file v2dvr.cpp.

◆ GetRecordedCommBreak

V2CutList * V2Dvr::GetRecordedCommBreak ( int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
const QString &  OffsetType 
)
staticslot

Definition at line 961 of file v2dvr.cpp.

◆ GetRecordedSeek

V2CutList * V2Dvr::GetRecordedSeek ( int  RecordedId,
const QString &  OffsetType 
)
staticslot

Definition at line 994 of file v2dvr.cpp.

◆ GetRecordedMarkup

V2MarkupList * V2Dvr::GetRecordedMarkup ( int  RecordedId)
staticslot

Definition at line 1024 of file v2dvr.cpp.

◆ SetRecordedMarkup

bool V2Dvr::SetRecordedMarkup ( int  RecordedId,
const QString &  MarkupList 
)
staticslot

Definition at line 1069 of file v2dvr.cpp.

◆ GetConflictList

V2ProgramList * V2Dvr::GetConflictList ( int  StartIndex,
int  Count,
int  RecordId 
)
staticslot

Definition at line 1321 of file v2dvr.cpp.

◆ GetUpcomingList

V2ProgramList * V2Dvr::GetUpcomingList ( int  StartIndex,
int  Count,
bool  ShowAll,
int  RecordId,
int  RecStatus 
)
staticslot

Definition at line 1343 of file v2dvr.cpp.

◆ GetEncoderList

V2EncoderList * V2Dvr::GetEncoderList ( )
staticslot

Definition at line 1127 of file v2dvr.cpp.

◆ GetInputList

V2InputList * V2Dvr::GetInputList ( )
staticslot

Definition at line 1138 of file v2dvr.cpp.

◆ GetRecGroupList

QStringList V2Dvr::GetRecGroupList ( )
staticslot

Definition at line 1156 of file v2dvr.cpp.

◆ GetProgramCategories

QStringList V2Dvr::GetProgramCategories ( bool  OnlyRecorded)
staticslot

Definition at line 1179 of file v2dvr.cpp.

◆ GetRecStorageGroupList

QStringList V2Dvr::GetRecStorageGroupList ( )
staticslot

Definition at line 1205 of file v2dvr.cpp.

◆ GetPlayGroupList

QStringList V2Dvr::GetPlayGroupList ( )
staticslot

Definition at line 1214 of file v2dvr.cpp.

◆ GetRecRuleFilterList

V2RecRuleFilterList * V2Dvr::GetRecRuleFilterList ( )
staticslot

Definition at line 1223 of file v2dvr.cpp.

◆ GetTitleList

QStringList V2Dvr::GetTitleList ( const QString &  RecGroup)
staticslot

Definition at line 1250 of file v2dvr.cpp.

◆ GetTitleInfoList

V2TitleInfoList * V2Dvr::GetTitleInfoList ( )
staticslot

Definition at line 1286 of file v2dvr.cpp.

◆ AddRecordSchedule

uint V2Dvr::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 
)
staticslot

Definition at line 1367 of file v2dvr.cpp.

◆ UpdateRecordSchedule

bool V2Dvr::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 
)
staticslot

Definition at line 1521 of file v2dvr.cpp.

◆ RemoveRecordSchedule

bool V2Dvr::RemoveRecordSchedule ( uint  RecordId)
staticslot

Definition at line 1688 of file v2dvr.cpp.

◆ AddDontRecordSchedule

bool V2Dvr::AddDontRecordSchedule ( int  ChanId,
const QDateTime &  StartTime,
bool  NeverRecord 
)
staticslot

Definition at line 1703 of file v2dvr.cpp.

◆ GetRecordScheduleList

V2RecRuleList * V2Dvr::GetRecordScheduleList ( int  StartIndex,
int  Count,
const QString &  Sort,
bool  Descending 
)
staticslot

Definition at line 1731 of file v2dvr.cpp.

◆ GetRecordSchedule

V2RecRule * V2Dvr::GetRecordSchedule ( uint  RecordId,
const QString &  Template,
int  RecordedId,
int  ChanId,
const QDateTime &  StartTime,
bool  MakeOverride 
)
staticslot

Definition at line 1793 of file v2dvr.cpp.

◆ EnableRecordSchedule

bool V2Dvr::EnableRecordSchedule ( uint  RecordId)
staticslot

Definition at line 1846 of file v2dvr.cpp.

◆ DisableRecordSchedule

bool V2Dvr::DisableRecordSchedule ( uint  RecordId)
staticslot

Definition at line 1866 of file v2dvr.cpp.

◆ RecordedIdForKey

int V2Dvr::RecordedIdForKey ( int  ChanId,
const QDateTime &  StartTime 
)
staticslot

Definition at line 1886 of file v2dvr.cpp.

◆ RecordedIdForPathname

int V2Dvr::RecordedIdForPathname ( const QString &  Pathname)
staticslot

Definition at line 1897 of file v2dvr.cpp.

◆ RecStatusToString

QString V2Dvr::RecStatusToString ( int  RecStatus)
staticslot

Definition at line 1907 of file v2dvr.cpp.

◆ RecStatusToDescription

QString V2Dvr::RecStatusToDescription ( int  RecStatus,
int  RecType,
const QDateTime &  StartTime 
)
staticslot

Definition at line 1913 of file v2dvr.cpp.

◆ RecTypeToString

QString V2Dvr::RecTypeToString ( const QString &  RecType)
staticslot

Definition at line 1923 of file v2dvr.cpp.

◆ RecTypeToDescription

QString V2Dvr::RecTypeToDescription ( const QString &  RecType)
staticslot

Definition at line 1933 of file v2dvr.cpp.

◆ DupMethodToString

QString V2Dvr::DupMethodToString ( const QString &  DupMethod)
staticslot

Definition at line 1957 of file v2dvr.cpp.

◆ DupMethodToDescription

QString V2Dvr::DupMethodToDescription ( const QString &  DupMethod)
staticslot

Definition at line 1963 of file v2dvr.cpp.

◆ DupInToString

QString V2Dvr::DupInToString ( const QString &  DupIn)
staticslot

Definition at line 1943 of file v2dvr.cpp.

◆ DupInToDescription

QString V2Dvr::DupInToDescription ( const QString &  DupIn)
staticslot

Definition at line 1950 of file v2dvr.cpp.

◆ ManageJobQueue

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

Definition at line 1973 of file v2dvr.cpp.

◆ UpdateRecordedMetadata

bool V2Dvr::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 
)
slot

Definition at line 2078 of file v2dvr.cpp.


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