MythTV
master
|
#include <iostream>
#include <algorithm>
#include <list>
#include <chrono>
#include <thread>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <QStringList>
#include <QDateTime>
#include <QString>
#include <QRegExp>
#include <QMutex>
#include <QFile>
#include <QMap>
#include "mythmiscutil.h"
#include "mythsystemlegacy.h"
#include "scheduler.h"
#include "encoderlink.h"
#include "mainserver.h"
#include "remoteutil.h"
#include "mythdate.h"
#include "exitcodes.h"
#include "mythcontext.h"
#include "mythdb.h"
#include "compat.h"
#include "storagegroup.h"
#include "recordinginfo.h"
#include "recordingrule.h"
#include "scheduledrecording.h"
#include "cardutil.h"
#include "mythsystemevent.h"
#include "mythlogging.h"
#include "tv_rec.h"
#include "jobqueue.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("Scheduler: ") |
#define | LOC_WARN QString("Scheduler, Warning: ") |
#define | LOC_ERR QString("Scheduler, Error: ") |
Functions | |
static bool | Recording (const RecordingInfo *p) |
static bool | comp_overlap (RecordingInfo *a, RecordingInfo *b) |
static bool | comp_redundant (RecordingInfo *a, RecordingInfo *b) |
static bool | comp_recstart (RecordingInfo *a, RecordingInfo *b) |
static bool | comp_priority (RecordingInfo *a, RecordingInfo *b) |
static bool | comp_retry (RecordingInfo *a, RecordingInfo *b) |
static void | erase_nulls (RecList &reclist) |
static bool | comp_storage_combination (FileSystemInfo *a, FileSystemInfo *b) |
static bool | comp_storage_perc_free_space (FileSystemInfo *a, FileSystemInfo *b) |
static bool | comp_storage_free_space (FileSystemInfo *a, FileSystemInfo *b) |
static bool | comp_storage_disk_io (FileSystemInfo *a, FileSystemInfo *b) |
Variables | |
bool | debugConflicts = false |
static QString | progdupinit |
static QString | progfindid |
#define LOC QString("Scheduler: ") |
Definition at line 50 of file scheduler.cpp.
#define LOC_WARN QString("Scheduler, Warning: ") |
Definition at line 51 of file scheduler.cpp.
#define LOC_ERR QString("Scheduler, Error: ") |
Definition at line 52 of file scheduler.cpp.
|
inlinestatic |
Definition at line 216 of file scheduler.cpp.
Referenced by DTC::Encoder::Copy(), DTC::Program::Copy(), Scheduler::FindNextConflict(), Scheduler::PrintList(), and Scheduler::PruneRedundants().
|
static |
Definition at line 225 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 267 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 290 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 307 of file scheduler.cpp.
Referenced by Scheduler::FillRecordList().
|
static |
Definition at line 373 of file scheduler.cpp.
Referenced by Scheduler::SchedNewRetryPass().
|
static |
Definition at line 964 of file scheduler.cpp.
Referenced by Scheduler::PruneOverlaps(), and Scheduler::PruneRedundants().
|
static |
Definition at line 4950 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 4987 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 5003 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
|
static |
Definition at line 5010 of file scheduler.cpp.
Referenced by Scheduler::FillRecordingDir().
Definition at line 54 of file scheduler.cpp.
Referenced by Scheduler::FindNextConflict(), and Scheduler::Scheduler().
|
static |
Definition at line 3916 of file scheduler.cpp.
Referenced by Scheduler::UpdateMatches().
|
static |
Definition at line 3925 of file scheduler.cpp.
Referenced by Scheduler::UpdateMatches().