Go to the documentation of this file.
21 #ifndef MYTHTVEXTERNRECAPP_H
22 #define MYTHTVEXTERNRECAPP_H
30 #include <QVariantMap>
33 #include <condition_variable>
43 QString log_file, QString logging);
50 QString
Desc(
void)
const;
58 const QString & serial,
59 const QString & message,
60 const QString & status =
"");
65 void Fill(
const QByteArray & buffer);
69 void ProcFinished(
int exitCode, QProcess::ExitStatus exitStatus);
79 void HasTuner(
const QString & serial);
87 void TuneChannel(
const QString & serial,
const QVariantMap & chaninfo);
93 void GetChannel(
const QString & serial,
const QString & func);
100 const QVariantMap & extra_args)
const;
152 #endif // MYTHTVEXTERNRECAPP_H
void SetDescription(const QString &desc)
void HasTuner(const QString &serial)
void TuneChannel(const QString &serial, const QVariantMap &chaninfo)
static void error(const char *str,...)
void StopStreaming(const QString &serial, bool silent)
MythExternRecApp(QString command, QString conf_file, QString log_file, QString logging)
void ProcFinished(int exitCode, QProcess::ExitStatus exitStatus)
void NewEpisodeStarting(void)
std::atomic< bool > m_run
void TerminateProcess(QProcess &proc, const QString &desc) const
void MythLog(const QString &msg)
void SetBlockSize(const QString &serial, int blksz)
void HasPictureAttributes(const QString &serial)
void TuneStatus(const QString &serial)
void LockTimeout(const QString &serial)
std::atomic< bool > m_streaming
void SetErrorMsg(const QString &msg)
QString m_newEpisodeCommand
void LoadChannels(const QString &serial)
void SendMessage(const QString &command, const QString &serial, const QString &message, const QString &status="")
void ProcReadStandardOutput(void)
void ProcReadStandardError(void)
void ErrorMessage(const QString &msg)
void GetChannel(const QString &serial, const QString &func)
static QString sanitize_var(const QString &var)
void NextChannel(const QString &serial)
QSettings * m_chanSettings
QProcess m_finishTuneProc
void ProcError(QProcess::ProcessError error)
~MythExternRecApp(void) override
QMap< QString, QString > m_settingVars
void FirstChannel(const QString &serial)
void ReplaceVariables(QString &cmd) const
void StartStreaming(const QString &serial)
QString replace_extra_args(const QString &var, const QVariantMap &extra_args) const
QMap< QString, QString > m_appEnv
std::condition_variable m_runCond
void Fill(const QByteArray &buffer)
void ProcStateChanged(QProcess::ProcessState newState)