MythTV
master
|
#include <libmythtv/programdata.h>
Public Member Functions | |
DBEvent (uint listingsource) | |
DBEvent (QString _title, QString _subtitle, QString _desc, QString _category, ProgramInfo::CategoryType _category_type, QDateTime _start, QDateTime _end, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps, float _stars, QString _seriesId, QString _programId, uint32_t _listingsource, uint _season, uint _episode, uint _totalepisodes) | |
virtual | ~DBEvent () |
void | AddPerson (DBPerson::Role role, const QString &name, int priority=0, const QString &character="") |
void | AddPerson (const QString &role, const QString &name, int priority=0, const QString &character="") |
uint | UpdateDB (MSqlQuery &query, uint chanid, int match_threshold) const |
bool | HasCredits (void) const |
bool | HasTimeConflict (const DBEvent &other) const |
DBEvent & | operator= (const DBEvent &other) |
Public Attributes | |
QString | m_title |
QString | m_subtitle |
QString | m_description |
QString | m_category |
QDateTime | m_starttime |
QDateTime | m_endtime |
uint16_t | m_airdate {0} |
movie year / production year More... | |
QDate | m_originalairdate |
origial broadcast date More... | |
DBCredits * | m_credits {nullptr} |
uint16_t | m_partnumber {0} |
uint16_t | m_parttotal {0} |
QString | m_syndicatedepisodenumber |
unsigned char | m_subtitleType {0} |
unsigned char | m_audioProps {0} |
unsigned char | m_videoProps {0} |
float | m_stars {0.0} |
ProgramInfo::CategoryType | m_categoryType {ProgramInfo::kCategoryNone} |
QString | m_seriesId |
QString | m_programId |
QString | m_inetref |
bool | m_previouslyshown {false} |
uint32_t | m_listingsource |
QList< EventRating > | m_ratings |
QStringList | m_genres |
uint | m_season {0} |
uint | m_episode {0} |
uint | m_totalepisodes {0} |
Protected Member Functions | |
uint | GetOverlappingPrograms (MSqlQuery &query, uint chanid, std::vector< DBEvent > &programs) const |
int | GetMatch (const std::vector< DBEvent > &programs, int &bestmatch) const |
uint | UpdateDB (MSqlQuery &q, uint chanid, const std::vector< DBEvent > &p, int match) const |
uint | UpdateDB (MSqlQuery &query, uint chanid, const DBEvent &match) const |
bool | MoveOutOfTheWayDB (MSqlQuery &query, uint chanid, const DBEvent &prog) const |
virtual uint | InsertDB (MSqlQuery &query, uint chanid, bool recording=false) const |
Insert Callback function when Allow Re-record is pressed in Watch Recordings. More... | |
virtual void | Squeeze (void) |
Definition at line 82 of file programdata.h.
|
inlineexplicit |
Definition at line 85 of file programdata.h.
|
inline |
Definition at line 88 of file programdata.h.
|
inlinevirtual |
Definition at line 117 of file programdata.h.
void DBEvent::AddPerson | ( | DBPerson::Role | role, |
const QString & | name, | ||
int | priority = 0 , |
||
const QString & | character = "" |
||
) |
Definition at line 298 of file programdata.cpp.
void DBEvent::AddPerson | ( | const QString & | role, |
const QString & | name, | ||
int | priority = 0 , |
||
const QString & | character = "" |
||
) |
Definition at line 308 of file programdata.cpp.
Definition at line 325 of file programdata.cpp.
Referenced by UpdateDB(), and DBEventEIT::UpdateDB().
|
inline |
Definition at line 126 of file programdata.h.
Definition at line 318 of file programdata.cpp.
Definition at line 231 of file programdata.cpp.
Referenced by ProgInfo::operator=().
|
protected |
Definition at line 429 of file programdata.cpp.
Referenced by UpdateDB().
|
protected |
Definition at line 565 of file programdata.cpp.
Referenced by UpdateDB().
|
protected |
Definition at line 640 of file programdata.cpp.
Definition at line 743 of file programdata.cpp.
|
protected |
Definition at line 1071 of file programdata.cpp.
Referenced by UpdateDB().
|
protectedvirtual |
Insert Callback function when Allow Re-record is pressed in Watch Recordings.
Reimplemented in ProgInfo.
Definition at line 1137 of file programdata.cpp.
Referenced by UpdateDB().
|
protectedvirtual |
Reimplemented in ProgInfo.
Definition at line 286 of file programdata.cpp.
Referenced by operator=(), and ProgInfo::Squeeze().
QString DBEvent::m_title |
Definition at line 148 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::Fix(), EITFixUp::FixAUDescription(), EITFixUp::FixAUNine(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixFI(), EITFixUp::FixGreekCategories(), EITFixUp::FixGreekEIT(), EITFixUp::FixGreekSubtitle(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNO(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixPremiere(), EITFixUp::FixStripHTML(), EITFixUp::FixUK(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), Squeeze(), and UpdateDB().
QString DBEvent::m_subtitle |
Definition at line 149 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixAUDescription(), EITFixUp::FixAUFreeview(), EITFixUp::FixAUNine(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixDisneyChannel(), EITFixUp::FixDK(), EITFixUp::FixGreekSubtitle(), EITFixUp::FixMCA(), EITFixUp::FixNL(), EITFixUp::FixNO(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixPRO7(), EITFixUp::FixRTL(), EITFixUp::FixUK(), EITFixUp::FixUnitymedia(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
QString DBEvent::m_description |
Definition at line 150 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixAUDescription(), EITFixUp::FixAUFreeview(), EITFixUp::FixAUNine(), EITFixUp::FixAUSeven(), EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixFI(), EITFixUp::FixGreekCategories(), EITFixUp::FixGreekEIT(), EITFixUp::FixGreekSubtitle(), EITFixUp::FixMCA(), EITFixUp::FixNO(), EITFixUp::FixNRK_DVBT(), EITFixUp::FixPremiere(), EITFixUp::FixPRO7(), EITFixUp::FixRTL(), EITFixUp::FixUK(), EITFixUp::FixUnitymedia(), GetMatch(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), EITFixUp::SetUKSubtitle(), Squeeze(), and UpdateDB().
QString DBEvent::m_category |
Definition at line 151 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixComHem(), EITFixUp::FixNL(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
QDateTime DBEvent::m_starttime |
Definition at line 152 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), EITFixUp::FixComHem(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), start_time_less_than(), and UpdateDB().
QDateTime DBEvent::m_endtime |
Definition at line 153 of file programdata.h.
Referenced by ProgramData::DeleteOverlaps(), EITFixUp::FixCategory(), GetMatch(), GetOverlappingPrograms(), HasTimeConflict(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), MoveOutOfTheWayDB(), operator=(), and UpdateDB().
uint16_t DBEvent::m_airdate {0} |
movie year / production year
Definition at line 154 of file programdata.h.
Referenced by EITFixUp::FixDisneyChannel(), EITFixUp::FixPRO7(), GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
QDate DBEvent::m_originalairdate |
origial broadcast date
Definition at line 155 of file programdata.h.
Referenced by GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
DBCredits* DBEvent::m_credits {nullptr} |
Definition at line 156 of file programdata.h.
Referenced by AddPerson(), InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
uint16_t DBEvent::m_partnumber {0} |
Definition at line 157 of file programdata.h.
Referenced by EITFixUp::FixComHem(), EITFixUp::FixUK(), GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
uint16_t DBEvent::m_parttotal {0} |
Definition at line 158 of file programdata.h.
Referenced by EITFixUp::FixComHem(), EITFixUp::FixDK(), EITFixUp::FixUK(), GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
QString DBEvent::m_syndicatedepisodenumber |
Definition at line 159 of file programdata.h.
Referenced by GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
unsigned char DBEvent::m_subtitleType {0} |
Definition at line 160 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
unsigned char DBEvent::m_audioProps {0} |
Definition at line 161 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
unsigned char DBEvent::m_videoProps {0} |
Definition at line 162 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
float DBEvent::m_stars {0.0} |
Definition at line 163 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), and operator=().
ProgramInfo::CategoryType DBEvent::m_categoryType {ProgramInfo::kCategoryNone} |
Definition at line 164 of file programdata.h.
Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixCategory(), EITFixUp::FixRTL(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
QString DBEvent::m_seriesId |
Definition at line 165 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
QString DBEvent::m_programId |
Definition at line 166 of file programdata.h.
Referenced by EITFixUp::Fix(), EITFixUp::FixDK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
QString DBEvent::m_inetref |
Definition at line 167 of file programdata.h.
Referenced by GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), Squeeze(), and UpdateDB().
Definition at line 168 of file programdata.h.
Referenced by GetOverlappingPrograms(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
uint32_t DBEvent::m_listingsource |
Definition at line 169 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
QList<EventRating> DBEvent::m_ratings |
Definition at line 170 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
QStringList DBEvent::m_genres |
Definition at line 171 of file programdata.h.
Referenced by InsertDB(), ProgInfo::InsertDB(), operator=(), and UpdateDB().
uint DBEvent::m_season {0} |
Definition at line 172 of file programdata.h.
Referenced by EITFixUp::FixGreekEIT(), EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
uint DBEvent::m_episode {0} |
Definition at line 173 of file programdata.h.
Referenced by EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().
uint DBEvent::m_totalepisodes {0} |
Definition at line 174 of file programdata.h.
Referenced by EITFixUp::FixUK(), InsertDB(), ProgInfo::InsertDB(), ProgramData::IsUnchanged(), operator=(), and UpdateDB().