MythTV  0.26-pre
Functions
remoteutil.cpp File Reference

Go to the source code of this file.

Functions

vector< ProgramInfo * > * RemoteGetRecordedList (int sort)
bool RemoteGetLoad (float load[3])
bool RemoteGetUptime (time_t &uptime)
bool RemoteGetMemStats (int &totalMB, int &freeMB, int &totalVM, int &freeVM)
bool RemoteCheckFile (const ProgramInfo *pginfo, bool checkSlaves)
bool RemoteDeleteRecording (uint chanid, const QDateTime &recstartts, bool forceMetadataDelete, bool forgetHistory)
bool RemoteUndeleteRecording (uint chanid, const QDateTime &recstartts)
void RemoteGetAllScheduledRecordings (vector< ProgramInfo * > &scheduledlist)
void RemoteGetAllExpiringRecordings (vector< ProgramInfo * > &expiringlist)
uint RemoteGetRecordingList (vector< ProgramInfo * > &reclist, QStringList &strList)
vector< ProgramInfo * > * RemoteGetConflictList (const ProgramInfo *pginfo)
QDateTime RemoteGetPreviewLastModified (const ProgramInfo *pginfo)
QDateTime RemoteGetPreviewIfModified (const ProgramInfo &pginfo, const QString &cachefile)
 Download preview & get timestamp if newer than cachefile's last modified time, otherwise just get the timestamp.
bool RemoteFillProgramInfo (ProgramInfo &pginfo, const QString &playbackhost)
QStringList RemoteRecordings (void)
int RemoteGetRecordingMask (void)
int RemoteGetFreeRecorderCount (void)
bool RemoteGetFileList (QString host, QString path, QStringList *list, QString sgroup, bool fileNamesOnly)
int RemoteCheckForRecording (const ProgramInfo *pginfo)
 Get recorder for a programme.
int RemoteGetRecordingStatus (const ProgramInfo *pginfo, int overrecsecs, int underrecsecs)
 Get status of an individual programme (with pre-post roll?).
vector< ProgramInfo * > * RemoteGetCurrentlyRecordingList (void)
 return list of currently recording shows
bool RemoteGetActiveBackends (QStringList *list)
 return list of backends currently connected to the master

Function Documentation

vector<ProgramInfo *>* RemoteGetRecordedList ( int  sort)
bool RemoteGetLoad ( float  load[3])

Definition at line 39 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

bool RemoteGetUptime ( time_t &  uptime)

Definition at line 54 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

bool RemoteGetMemStats ( int totalMB,
int freeMB,
int totalVM,
int freeVM 
)

Definition at line 74 of file remoteutil.cpp.

Referenced by StatusBox::doMachineStatus().

bool RemoteCheckFile ( const ProgramInfo pginfo,
bool  checkSlaves 
)

Definition at line 90 of file remoteutil.cpp.

Referenced by ProgramInfo::GetPlaybackURL(), and ProgramInfo::IsFileReadable().

bool RemoteDeleteRecording ( uint  chanid,
const QDateTime &  recstartts,
bool  forceMetadataDelete,
bool  forgetHistory 
)

Definition at line 110 of file remoteutil.cpp.

Referenced by StatusBox::customEvent(), and PBHEventHandler::event().

bool RemoteUndeleteRecording ( uint  chanid,
const QDateTime &  recstartts 
)

Definition at line 138 of file remoteutil.cpp.

Referenced by StatusBox::customEvent(), and PBHEventHandler::event().

void RemoteGetAllScheduledRecordings ( vector< ProgramInfo * > &  scheduledlist)
void RemoteGetAllExpiringRecordings ( vector< ProgramInfo * > &  expiringlist)

Definition at line 165 of file remoteutil.cpp.

Referenced by StatusBox::doAutoExpireList().

uint RemoteGetRecordingList ( vector< ProgramInfo * > &  reclist,
QStringList &  strList 
)
vector<ProgramInfo *>* RemoteGetConflictList ( const ProgramInfo pginfo)

Definition at line 199 of file remoteutil.cpp.

Referenced by ScheduleCommon::ShowNotRecordingDialog().

QDateTime RemoteGetPreviewLastModified ( const ProgramInfo pginfo)

Definition at line 211 of file remoteutil.cpp.

QDateTime RemoteGetPreviewIfModified ( const ProgramInfo pginfo,
const QString &  cachefile 
)

Download preview & get timestamp if newer than cachefile's last modified time, otherwise just get the timestamp.

Definition at line 232 of file remoteutil.cpp.

Referenced by PreviewGeneratorQueue::GeneratePreviewImage().

bool RemoteFillProgramInfo ( ProgramInfo pginfo,
const QString &  playbackhost 
)

Definition at line 347 of file remoteutil.cpp.

QStringList RemoteRecordings ( void  )

Definition at line 366 of file remoteutil.cpp.

Definition at line 380 of file remoteutil.cpp.

Referenced by main(), and reloadTheme().

Definition at line 420 of file remoteutil.cpp.

Referenced by TV::FillOSDMenuPlayback(), isLiveTVAvailable(), and TV::StartTV().

bool RemoteGetFileList ( QString  host,
QString  path,
QStringList *  list,
QString  sgroup,
bool  fileNamesOnly 
)

Definition at line 441 of file remoteutil.cpp.

Referenced by VideoDialog::GetCoverImage(), and VideoDialog::GetImageFromFolder().

Get recorder for a programme.

Returns:
recordernum if pginfo recording in progress, else 0

Definition at line 495 of file remoteutil.cpp.

Referenced by RemoteGetRecordingStatus().

int RemoteGetRecordingStatus ( const ProgramInfo pginfo,
int  overrecsecs,
int  underrecsecs 
)

Get status of an individual programme (with pre-post roll?).

Return values:
0Not Recording
1Recording
2Under-Record
3Over-Record

Definition at line 514 of file remoteutil.cpp.

Referenced by StartPrompter::backendRunningPrompt(), isRecording(), WelcomeDialog::updateRecordingList(), LCDProcClient::updateRecordingList(), and IdleScreen::UpdateStatus().

return list of currently recording shows

Definition at line 544 of file remoteutil.cpp.

bool RemoteGetActiveBackends ( QStringList *  list)

return list of backends currently connected to the master

Definition at line 588 of file remoteutil.cpp.

Referenced by VideoScanner::doScan(), and MetadataFactory::VideoScan().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends