MythTV
master
|
#include <programdata.h>
Static Public Member Functions | |
static void | HandlePrograms (uint sourceid, QMap< QString, QList< ProgInfo > > &proglist) |
Called from mythfilldatabase to bulk insert data into the program database. More... | |
static int | fix_end_times (void) |
static bool | ClearDataByChannel (uint chanid, const QDateTime &from, const QDateTime &to, bool use_channel_time_offset) |
static bool | ClearDataBySource (uint sourceid, const QDateTime &from, const QDateTime &to, bool use_channel_time_offset) |
Static Private Member Functions | |
static void | FixProgramList (QList< ProgInfo * > &fixlist) |
static void | HandlePrograms (MSqlQuery &query, uint chanid, const QList< ProgInfo * > &sortlist, uint &unchanged, uint &updated) |
Called from HandlePrograms to bulk insert data into the program database. More... | |
static bool | IsUnchanged (MSqlQuery &query, uint chanid, const ProgInfo &pi) |
static bool | DeleteOverlaps (MSqlQuery &query, uint chanid, const ProgInfo &pi) |
Definition at line 253 of file programdata.h.
|
static |
Called from mythfilldatabase to bulk insert data into the program database.
sourceid | The data source identifier |
proglist | A map of all program information keyed by channel identifier |
Definition at line 1556 of file programdata.cpp.
Referenced by FillData::GrabDataFromFile().
|
static |
Definition at line 1646 of file programdata.cpp.
Referenced by main().
|
static |
Definition at line 1412 of file programdata.cpp.
Referenced by ClearDataBySource(), and DeleteOverlaps().
|
static |
Definition at line 1459 of file programdata.cpp.
|
staticprivate |
Definition at line 1477 of file programdata.cpp.
Referenced by HandlePrograms().
|
staticprivate |
Called from HandlePrograms to bulk insert data into the program database.
query | A mysql query related to all channel ids for a given source |
chanid | The specific channel id to process |
sortlist | A time sorted list of ProgInfo structures |
unchanged | Set to the number of unchanged programs |
updated | Set to the number of updated programs |
Definition at line 1625 of file programdata.cpp.
Definition at line 1707 of file programdata.cpp.
Referenced by HandlePrograms().
|
staticprivate |
Definition at line 1778 of file programdata.cpp.
Referenced by HandlePrograms().