Go to the documentation of this file.
10 #include <QStringList>
37 QStringList &strList);
41 const ProgramInfo &pginfo,
const QString &cachefile);
43 ProgramInfo &pginfo,
const QString &playbackhostname);
53 QString sgroup,
bool fileNamesOnly =
false);
57 const QString &storageGroup,
60 const QString &storageGroup,
63 #endif // REMOTEUTIL_H_
MBASE_PUBLIC int RemoteGetRecordingStatus(const ProgramInfo *pginfo, int overrecsecs, int underrecsecs)
Get status of an individual programme (with pre-post roll?).
MBASE_PUBLIC QString RemoteDownloadFileNow(const QString &url, const QString &storageGroup, const QString &filename="")
This class is used as a container for messages.
MBASE_PUBLIC uint RemoteGetRecordingList(std::vector< ProgramInfo * > &reclist, QStringList &strList)
MBASE_PUBLIC bool RemoteGetFileList(const QString &host, const QString &path, QStringList *list, QString sgroup, bool fileNamesOnly=false)
MBASE_PUBLIC bool RemoteFillProgramInfo(ProgramInfo &pginfo, const QString &playbackhostname)
MBASE_PUBLIC void RemoteGetAllExpiringRecordings(std::vector< ProgramInfo * > &expiringlist)
MBASE_PUBLIC int RemoteCheckForRecording(const ProgramInfo *pginfo)
Get recorder for a programme.
MBASE_PUBLIC bool RemoteGetMemStats(int &totalMB, int &freeMB, int &totalVM, int &freeVM)
MBASE_PUBLIC bool RemoteGetUptime(std::chrono::seconds &uptime)
MBASE_PUBLIC bool RemoteUndeleteRecording(uint recordingID)
MBASE_PUBLIC bool RemoteGetLoad(system_load_array &load)
std::array< double, 3 > system_load_array
MBASE_PUBLIC bool RemoteDeleteRecording(uint recordingID, bool forceMetadataDelete, bool forgetHistory)
MBASE_PUBLIC QDateTime RemoteGetPreviewIfModified(const ProgramInfo &pginfo, const QString &cachefile)
Download preview & get timestamp if newer than cachefile's last modified time, otherwise just get the...
MBASE_PUBLIC bool RemoteCheckFile(ProgramInfo *pginfo, bool checkSlaves=true)
MBASE_PUBLIC bool RemoteGetActiveBackends(QStringList *list)
return list of backends currently connected to the master
MBASE_PUBLIC std::vector< ProgramInfo * > * RemoteGetRecordedList(int sort)
MBASE_PUBLIC std::vector< ProgramInfo * > * RemoteGetCurrentlyRecordingList(void)
return list of currently recording shows
MBASE_PUBLIC QDateTime RemoteGetPreviewLastModified(const ProgramInfo *pginfo)
Holds information on recordings and videos.
MBASE_PUBLIC void RemoteGetAllScheduledRecordings(std::vector< ProgramInfo * > &scheduledlist)
MBASE_PUBLIC std::vector< ProgramInfo * > * RemoteGetConflictList(const ProgramInfo *pginfo)
MBASE_PUBLIC int RemoteGetRecordingMask(void)
MBASE_PUBLIC QString RemoteDownloadFile(const QString &url, const QString &storageGroup, const QString &filename="")
MBASE_PUBLIC QStringList RemoteRecordings(void)