MythTV  master
Public Member Functions | Public Attributes | List of all members
DBEventEIT Class Reference

#include <programdata.h>

Inheritance diagram for DBEventEIT:
Inheritance graph
[legend]
Collaboration diagram for DBEventEIT:
Collaboration graph
[legend]

Public Member Functions

 DBEventEIT (uint _chanid, const QString &_title, const QString &_subtitle, const QString &_desc, const QString &_category, ProgramInfo::CategoryType _category_type, const QDateTime &_start, const QDateTime &_end, FixupValue _fixup, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps, float _stars, const QString &_seriesId, const QString &_programId, uint _season, uint _episode, uint _totalepisodes)
 
 DBEventEIT (uint _chanid, const QString &_title, const QString &_desc, const QDateTime &_start, const QDateTime &_end, FixupValue _fixup, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps)
 
uint UpdateDB (MSqlQuery &query, int match_threshold) const
 
- Public Member Functions inherited from DBEvent
 DBEvent (uint listingsource)
 
 DBEvent (const QString &_title, const QString &_subtitle, const QString &_desc, const QString &_category, ProgramInfo::CategoryType _category_type, const QDateTime &_start, const QDateTime &_end, unsigned char _subtitleType, unsigned char _audioProps, unsigned char _videoProps, float _stars, const QString &_seriesId, const QString &_programId, uint32_t _listingsource, uint _season, uint _episode, uint _totalepisodes)
 
virtual ~DBEvent ()
 
void AddPerson (DBPerson::Role, const QString &name)
 
void AddPerson (const QString &role, const QString &name)
 
uint UpdateDB (MSqlQuery &query, uint chanid, int match_threshold) const
 
bool HasCredits (void) const
 
bool HasTimeConflict (const DBEvent &other) const
 
DBEventoperator= (const DBEvent &)
 

Public Attributes

uint32_t m_chanid
 
FixupValue m_fixup
 
QMap< QString, QString > m_items
 
- Public Attributes inherited from DBEvent
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...
 
DBCreditsm_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< EventRatingm_ratings
 
QStringList m_genres
 
uint m_season {0}
 
uint m_episode {0}
 
uint m_totalepisodes {0}
 

Additional Inherited Members

- Protected Member Functions inherited from DBEvent
uint GetOverlappingPrograms (MSqlQuery &, uint chanid, vector< DBEvent > &programs) const
 
int GetMatch (const vector< DBEvent > &programs, int &bestmatch) const
 
uint UpdateDB (MSqlQuery &, uint chanid, const vector< DBEvent > &p, int match) const
 
uint UpdateDB (MSqlQuery &, uint chanid, const DBEvent &match) const
 
bool MoveOutOfTheWayDB (MSqlQuery &, uint chanid, const DBEvent &prog) const
 
virtual uint InsertDB (MSqlQuery &, uint chanid) const
 Insert Callback function when Allow Re-record is pressed in Watch Recordings. More...
 
virtual void Squeeze (void)
 

Detailed Description

Definition at line 162 of file programdata.h.

Constructor & Destructor Documentation

◆ DBEventEIT() [1/2]

DBEventEIT::DBEventEIT ( uint  _chanid,
const QString &  _title,
const QString &  _subtitle,
const QString &  _desc,
const QString &  _category,
ProgramInfo::CategoryType  _category_type,
const QDateTime &  _start,
const QDateTime &  _end,
FixupValue  _fixup,
unsigned char  _subtitleType,
unsigned char  _audioProps,
unsigned char  _videoProps,
float  _stars,
const QString &  _seriesId,
const QString &  _programId,
uint  _season,
uint  _episode,
uint  _totalepisodes 
)
inline

Definition at line 165 of file programdata.h.

◆ DBEventEIT() [2/2]

DBEventEIT::DBEventEIT ( uint  _chanid,
const QString &  _title,
const QString &  _desc,
const QDateTime &  _start,
const QDateTime &  _end,
FixupValue  _fixup,
unsigned char  _subtitleType,
unsigned char  _audioProps,
unsigned char  _videoProps 
)
inline

Definition at line 186 of file programdata.h.

Member Function Documentation

◆ UpdateDB()

uint DBEventEIT::UpdateDB ( MSqlQuery query,
int  match_threshold 
) const
inline

Definition at line 200 of file programdata.h.

Member Data Documentation

◆ m_chanid

uint32_t DBEventEIT::m_chanid

Definition at line 206 of file programdata.h.

Referenced by EITFixUp::Fix(), and EITFixUp::FixDK().

◆ m_fixup

FixupValue DBEventEIT::m_fixup

Definition at line 207 of file programdata.h.

Referenced by EITFixUp::Fix().

◆ m_items

QMap<QString,QString> DBEventEIT::m_items

Definition at line 208 of file programdata.h.

Referenced by EITFixUp::Fix(), and EITFixUp::FixUnitymedia().


The documentation for this class was generated from the following file: