MythTV
master
|
#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <QDateTime>
#include <QFileInfo>
#include <QList>
#include "libmythbase/compat.h"
#include "libmythbase/filesysteminfo.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/programinfo.h"
#include "libmythbase/remoteutil.h"
#include "libmythbase/storagegroup.h"
#include "libmythprotoserver/requesthandler/fileserverutil.h"
#include "libmythtv/remoteencoder.h"
#include "libmythtv/tv_rec.h"
#include "autoexpire.h"
#include "backendcontext.h"
#include "encoderlink.h"
#include "mainserver.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("AutoExpire: ") |
#define | LOC_ERR QString("AutoExpire Error: ") |
Variables | |
static constexpr uint64_t | kSpaceTooBigKB { 3ULL * 1024 * 1024 } |
If calculated desired space for 10 min freq is > kSpaceTooBigKB then we use 5 min expire frequency. More... | |
static constexpr int64_t | kRecentInterval { 2LL * 60 * 60 } |
#define LOC QString("AutoExpire: ") |
Definition at line 45 of file autoexpire.cpp.
#define LOC_ERR QString("AutoExpire Error: ") |
Definition at line 46 of file autoexpire.cpp.
|
staticconstexpr |
If calculated desired space for 10 min freq is > kSpaceTooBigKB then we use 5 min expire frequency.
Definition at line 51 of file autoexpire.cpp.
Referenced by AutoExpire::CalcParams().
|
staticconstexpr |
Definition at line 55 of file autoexpire.cpp.
Referenced by AutoExpire::UpdateDontExpireSet().