MythTV
master
|
#include <algorithm>
#include <climits>
#include <utility>
#include <QtGlobal>
#include "libmythbase/mythdb.h"
#include "libmythbase/mythlogging.h"
#include "channelutil.h"
#include "mpeg/dvbdescriptors.h"
#include "programdata.h"
Go to the source code of this file.
Macros | |
#define | LOC QString("ProgramData: ") |
Functions | |
static QString | denullify (const QString &str) |
static QVariant | denullify (const QDateTime &dt) |
static void | add_genres (MSqlQuery &query, const QStringList &genres, uint chanid, const QDateTime &starttime) |
static int | score_words (const QStringList &al, const QStringList &bl) |
static int | score_match (const QString &a, const QString &b) |
static int | change_record (MSqlQuery &query, uint chanid, const QDateTime &old_starttime, const QDateTime &new_starttime) |
static bool | delete_program (MSqlQuery &query, uint chanid, const QDateTime &st) |
static bool | program_exists (MSqlQuery &query, uint chanid, const QDateTime &st) |
static bool | change_program (MSqlQuery &query, uint chanid, const QDateTime &st, const QDateTime &new_st, const QDateTime &new_end) |
static bool | start_time_less_than (const DBEvent *a, const DBEvent *b) |
Variables | |
static const std::array< const std::string, DBPerson::kGuest+1 > | roles |
#define LOC QString("ProgramData: ") |
Definition at line 19 of file programdata.cpp.
|
static |
Definition at line 29 of file programdata.cpp.
Referenced by DBEvent::InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), and DBEvent::UpdateDB().
|
static |
Definition at line 34 of file programdata.cpp.
|
static |
Definition at line 39 of file programdata.cpp.
Referenced by DBEvent::InsertDB(), ProgInfo::InsertDB(), and DBEvent::UpdateDB().
|
static |
Definition at line 506 of file programdata.cpp.
Referenced by score_match().
|
static |
Definition at line 539 of file programdata.cpp.
Referenced by DBEvent::GetMatch().
|
static |
Definition at line 700 of file programdata.cpp.
Referenced by DBEvent::MoveOutOfTheWayDB(), and DBEvent::UpdateDB().
Definition at line 921 of file programdata.cpp.
Referenced by DBEvent::MoveOutOfTheWayDB().
Definition at line 982 of file programdata.cpp.
Referenced by DBEvent::MoveOutOfTheWayDB().
|
static |
Definition at line 997 of file programdata.cpp.
Referenced by DBEvent::MoveOutOfTheWayDB().
Definition at line 1464 of file programdata.cpp.
Referenced by ProgramData::FixProgramList().
|
static |
Definition at line 22 of file programdata.cpp.
Referenced by DBPerson::DBPerson(), and DBPerson::GetRole().