Go to the documentation of this file.
18 bool rebuildSeektable =
false;
28 rebuildSeektable =
true;
57 LOG(VB_GENERAL, LOG_ERR,
58 "Error, invalid job type given with queuejob option");
64 static_cast<int>(rebuildSeektable), JOB_QUEUED, QDateTime());
68 QString
tmp = QString(
"%1 Job Queued for chanid %2 @ %3")
72 std::cerr <<
tmp.toLocal8Bit().constData() << std::endl;
76 QString
tmp = QString(
"Error queueing job for chanid %1 @ %2")
79 std::cerr <<
tmp.toLocal8Bit().constData() << std::endl;
static int QueueJob(const MythUtilCommandLineParser &cmdline)
static bool QueueJob(int jobType, uint chanid, const QDateTime &recstartts, const QString &args="", const QString &comment="", QString host="", int flags=0, int status=JOB_QUEUED, QDateTime schedruntime=QDateTime())
MythCommFlagCommandLineParser cmdline
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
bool GetProgramInfo(const MythUtilCommandLineParser &cmdline, ProgramInfo &pginfo)
@ GENERIC_EXIT_NO_RECORDING_DATA
No program/recording data.
QDateTime GetRecordingStartTime(void) const
Approximate time the recording started.
@ GENERIC_EXIT_INVALID_CMDLINE
Command line parse error.
@ GENERIC_EXIT_OK
Exited with no error.
uint GetChanID(void) const
This is the unique key used in the database to locate tuning information.
Holds information on recordings and videos.
QMap< QString, UtilFunc > UtilMap
QString toString(const QString &key) const
Returns stored QVariant as a QString, falling to default if not provided.
int toInt(const QString &key) const
Returns stored QVariant as an integer, falling to default if not provided.
@ GENERIC_EXIT_DB_ERROR
Database error.
void registerJobUtils(UtilMap &utilMap)