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 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())
int toInt(const QString &key) const
Returns stored QVariant as an integer, falling to default if not provided.
QString toString(const QString &key) const
Returns stored QVariant as a QString, falling to default if not provided.
Holds information on recordings and videos.
uint GetChanID(void) const
This is the unique key used in the database to locate tuning information.
QDateTime GetRecordingStartTime(void) const
Approximate time the recording started.
@ GENERIC_EXIT_OK
Exited with no error.
@ GENERIC_EXIT_NO_RECORDING_DATA
No program/recording data.
@ GENERIC_EXIT_INVALID_CMDLINE
Command line parse error.
@ GENERIC_EXIT_DB_ERROR
Database error.
void registerJobUtils(UtilMap &utilMap)
static int QueueJob(const MythUtilCommandLineParser &cmdline)
MythCommFlagCommandLineParser cmdline
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
bool GetProgramInfo(const MythUtilCommandLineParser &cmdline, ProgramInfo &pginfo)
QMap< QString, UtilFunc > UtilMap