MythTV  master
Macros | Variables
autoexpire.cpp File Reference
#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"
Include dependency graph for autoexpire.cpp:

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 }
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("AutoExpire: ")

Definition at line 45 of file autoexpire.cpp.

◆ LOC_ERR

#define LOC_ERR   QString("AutoExpire Error: ")

Definition at line 46 of file autoexpire.cpp.

Variable Documentation

◆ kSpaceTooBigKB

constexpr uint64_t kSpaceTooBigKB { 3ULL * 1024 * 1024 }
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().

◆ kRecentInterval

constexpr int64_t kRecentInterval { 2LL * 60 * 60 }
staticconstexpr

Definition at line 55 of file autoexpire.cpp.

Referenced by AutoExpire::UpdateDontExpireSet().