|
kodi
|


Public Member Functions | |
| CPVREpgInfoTag (const EPG_TAG &data, int iClientId, const std::shared_ptr< CPVREpgChannelData > &channelData, int iEpgID) | |
| Create a new EPG infotag. More... | |
| CPVREpgInfoTag (const std::shared_ptr< CPVREpgChannelData > &channelData, int iEpgID, const CDateTime &start, const CDateTime &end, bool bIsGapTag) | |
| Create a new EPG infotag. More... | |
| void | SetChannelData (const std::shared_ptr< CPVREpgChannelData > &data) |
| Set data for the channel linked to this EPG infotag. More... | |
| bool | operator== (const CPVREpgInfoTag &right) const |
| bool | operator!= (const CPVREpgInfoTag &right) const |
| void | Serialize (CVariant &value) const override |
| int | ClientID () const |
| Get the identifier of the client that serves this event. More... | |
| bool | IsActive () const |
| Check if this event is currently active. More... | |
| bool | WasActive () const |
| Check if this event is in the past. More... | |
| bool | IsUpcoming () const |
| Check if this event is in the future. More... | |
| float | ProgressPercentage () const |
| Get the progress of this tag in percent. More... | |
| int | Progress () const |
| Get the progress of this tag in seconds. More... | |
| int | EpgID () const |
| Get EPG ID of this tag. More... | |
| void | SetEpgID (int iEpgID) |
| Sets the EPG id for this event. More... | |
| void | SetUniqueBroadcastID (unsigned int iUniqueBroadcastID) |
| Change the unique broadcast ID of this event. More... | |
| unsigned int | UniqueBroadcastID () const |
| Get the unique broadcast ID. More... | |
| int | DatabaseID () const |
| Get the event's database ID. More... | |
| int | UniqueChannelID () const |
| Get the unique ID of the channel associated with this event. More... | |
| std::string | ChannelIconPath () const |
| Get the path for the icon of the channel associated with this event. More... | |
| CDateTime | StartAsUTC () const |
| Get the event's start time. More... | |
| CDateTime | StartAsLocalTime () const |
| Get the event's start time. More... | |
| CDateTime | EndAsUTC () const |
| Get the event's end time. More... | |
| CDateTime | EndAsLocalTime () const |
| Get the event's end time. More... | |
| void | SetEndFromUTC (const CDateTime &end) |
| Change the event's end time. More... | |
| int | GetDuration () const |
| Get the duration of this event in seconds. More... | |
| std::string | Title () const |
| Get the title of this event. More... | |
| std::string | PlotOutline () const |
| Get the plot outline of this event. More... | |
| std::string | Plot () const |
| Get the plot of this event. More... | |
| std::string | OriginalTitle () const |
| Get the original title of this event. More... | |
| const std::vector< std::string > | Cast () const |
| Get the cast of this event. More... | |
| const std::vector< std::string > | Directors () const |
| Get the director(s) of this event. More... | |
| const std::vector< std::string > | Writers () const |
| Get the writer(s) of this event. More... | |
| const std::string | GetCastLabel () const |
| Get the cast of this event as formatted string. More... | |
| const std::string | GetDirectorsLabel () const |
| Get the director(s) of this event as formatted string. More... | |
| const std::string | GetWritersLabel () const |
| Get the writer(s) of this event as formatted string. More... | |
| const std::string | GetGenresLabel () const |
| Get the genre(s) of this event as formatted string. More... | |
| int | Year () const |
| Get the year of this event. More... | |
| std::string | IMDBNumber () const |
| Get the imdbnumber of this event. More... | |
| int | GenreType () const |
| Get the genre type ID of this event. More... | |
| int | GenreSubType () const |
| Get the genre subtype ID of this event. More... | |
| std::string | GenreDescription () const |
| Get the genre description of this event. More... | |
| const std::vector< std::string > | Genre () const |
| Get the genre as human readable string. More... | |
| CDateTime | FirstAired () const |
| Get the first air date of this event. More... | |
| int | ParentalRating () const |
| Get the parental rating of this event. More... | |
| std::string | ParentalRatingCode () const |
| Get the parental rating code of this event. More... | |
| int | StarRating () const |
| Get the star rating of this event. More... | |
| int | SeriesNumber () const |
| The series number of this event. More... | |
| std::string | SeriesLink () const |
| The series link for this event. More... | |
| int | EpisodeNumber () const |
| The episode number of this event. More... | |
| int | EpisodePart () const |
| The episode part number of this event. More... | |
| std::string | EpisodeName () const |
| The episode name of this event. More... | |
| std::string | IconPath () const |
| Get the path to the icon for this event used by Kodi. More... | |
| std::string | ClientIconPath () const |
| Get the path to the icon for this event as given by the client. More... | |
| std::string | Path () const |
| The path to this event. More... | |
| bool | IsRecordable () const |
| Check if this event can be recorded. More... | |
| bool | IsPlayable () const |
| Check if this event can be played. More... | |
| bool | QueuePersistQuery (const std::shared_ptr< CPVREpgDatabase > &database) |
| Write query to persist this tag in the query queue of the given database. More... | |
| bool | Update (const CPVREpgInfoTag &tag, bool bUpdateBroadcastId=true) |
| Update the information in this tag with the info in the given tag. More... | |
| std::vector< PVR_EDL_ENTRY > | GetEdl () const |
| Retrieve the edit decision list (EDL) of an EPG tag. More... | |
| bool | IsSeries () const |
| Check whether this tag has any series attributes. More... | |
| bool | IsRadio () const |
| Check whether this tag is associated with a radion or TV channel. More... | |
| bool | IsParentalLocked () const |
| Check whether this event is parental locked. More... | |
| bool | IsGapTag () const |
| Check whether this event is a real event or a gap in the EPG timeline. More... | |
| bool | IsNew () const |
| Check whether this tag will be flagged as new. More... | |
| bool | IsPremiere () const |
| Check whether this tag will be flagged as a premiere. More... | |
| bool | IsFinale () const |
| Check whether this tag will be flagged as a finale. More... | |
| bool | IsLive () const |
| Check whether this tag will be flagged as live. More... | |
| unsigned int | Flags () const |
| Return the flags (EPG_TAG_FLAG_*) of this event as a bitfield. More... | |
Static Public Member Functions | |
| static const std::vector< std::string > | Tokenize (const std::string &str) |
| Split the given string into tokens. Interprets occurrences of EPG_STRING_TOKEN_SEPARATOR in the string as separator. More... | |
| static const std::string | DeTokenize (const std::vector< std::string > &tokens) |
| Combine the given strings to a single string. Inserts EPG_STRING_TOKEN_SEPARATOR as separator. More... | |
Static Public Attributes | |
| static const std::string | IMAGE_OWNER_PATTERN = "epgtag_{}" |
Friends | |
| class | CPVREpgDatabase |
| CPVREpgInfoTag::CPVREpgInfoTag | ( | const EPG_TAG & | data, |
| int | iClientId, | ||
| const std::shared_ptr< CPVREpgChannelData > & | channelData, | ||
| int | iEpgID | ||
| ) |
Create a new EPG infotag.
| data | The tag's data. |
| iClientId | The client id. |
| channelData | The channel data. |
| iEpgId | The id of the EPG this tag belongs to. |
| CPVREpgInfoTag::CPVREpgInfoTag | ( | const std::shared_ptr< CPVREpgChannelData > & | channelData, |
| int | iEpgID, | ||
| const CDateTime & | start, | ||
| const CDateTime & | end, | ||
| bool | bIsGapTag | ||
| ) |
Create a new EPG infotag.
| channelData | The channel data. |
| iEpgId | The id of the EPG this tag belongs to. |
| start | The start time of the event |
| end | The end time of the event |
| bIsGapTagTrue | if this is a "gap" tag, false if this is a real EPG event |
| const std::vector< std::string > CPVREpgInfoTag::Cast | ( | ) | const |
Get the cast of this event.
| std::string CPVREpgInfoTag::ChannelIconPath | ( | ) | const |
Get the path for the icon of the channel associated with this event.
| std::string CPVREpgInfoTag::ClientIconPath | ( | ) | const |
Get the path to the icon for this event as given by the client.
| int CPVREpgInfoTag::ClientID | ( | ) | const |
Get the identifier of the client that serves this event.
| int CPVREpgInfoTag::DatabaseID | ( | ) | const |
Get the event's database ID.
|
static |
Combine the given strings to a single string. Inserts EPG_STRING_TOKEN_SEPARATOR as separator.
| tokens | The tokens. |
| const std::vector< std::string > CPVREpgInfoTag::Directors | ( | ) | const |
Get the director(s) of this event.
| CDateTime CPVREpgInfoTag::EndAsLocalTime | ( | ) | const |
Get the event's end time.
| CDateTime CPVREpgInfoTag::EndAsUTC | ( | ) | const |
Get the event's end time.
| int CPVREpgInfoTag::EpgID | ( | ) | const |
Get EPG ID of this tag.
| std::string CPVREpgInfoTag::EpisodeName | ( | ) | const |
The episode name of this event.
| int CPVREpgInfoTag::EpisodeNumber | ( | ) | const |
The episode number of this event.
| int CPVREpgInfoTag::EpisodePart | ( | ) | const |
The episode part number of this event.
| CDateTime CPVREpgInfoTag::FirstAired | ( | ) | const |
Get the first air date of this event.
|
inline |
Return the flags (EPG_TAG_FLAG_*) of this event as a bitfield.
| const std::vector< std::string > CPVREpgInfoTag::Genre | ( | ) | const |
Get the genre as human readable string.
| std::string CPVREpgInfoTag::GenreDescription | ( | ) | const |
Get the genre description of this event.
| int CPVREpgInfoTag::GenreSubType | ( | ) | const |
Get the genre subtype ID of this event.
| int CPVREpgInfoTag::GenreType | ( | ) | const |
Get the genre type ID of this event.
| const std::string CPVREpgInfoTag::GetCastLabel | ( | ) | const |
Get the cast of this event as formatted string.
| const std::string CPVREpgInfoTag::GetDirectorsLabel | ( | ) | const |
Get the director(s) of this event as formatted string.
| int CPVREpgInfoTag::GetDuration | ( | ) | const |
Get the duration of this event in seconds.
| std::vector< PVR_EDL_ENTRY > CPVREpgInfoTag::GetEdl | ( | ) | const |
Retrieve the edit decision list (EDL) of an EPG tag.
| const std::string CPVREpgInfoTag::GetGenresLabel | ( | ) | const |
Get the genre(s) of this event as formatted string.
| const std::string CPVREpgInfoTag::GetWritersLabel | ( | ) | const |
Get the writer(s) of this event as formatted string.
| std::string CPVREpgInfoTag::IconPath | ( | ) | const |
Get the path to the icon for this event used by Kodi.
| std::string CPVREpgInfoTag::IMDBNumber | ( | ) | const |
Get the imdbnumber of this event.
| bool CPVREpgInfoTag::IsActive | ( | ) | const |
Check if this event is currently active.
| bool CPVREpgInfoTag::IsFinale | ( | ) | const |
Check whether this tag will be flagged as a finale.
| bool CPVREpgInfoTag::IsGapTag | ( | ) | const |
Check whether this event is a real event or a gap in the EPG timeline.
| bool CPVREpgInfoTag::IsLive | ( | ) | const |
Check whether this tag will be flagged as live.
| bool CPVREpgInfoTag::IsNew | ( | ) | const |
Check whether this tag will be flagged as new.
| bool CPVREpgInfoTag::IsParentalLocked | ( | ) | const |
Check whether this event is parental locked.
| bool CPVREpgInfoTag::IsPlayable | ( | ) | const |
Check if this event can be played.
| bool CPVREpgInfoTag::IsPremiere | ( | ) | const |
Check whether this tag will be flagged as a premiere.
| bool CPVREpgInfoTag::IsRadio | ( | ) | const |
Check whether this tag is associated with a radion or TV channel.
| bool CPVREpgInfoTag::IsRecordable | ( | ) | const |
Check if this event can be recorded.
| bool CPVREpgInfoTag::IsSeries | ( | ) | const |
Check whether this tag has any series attributes.
| bool CPVREpgInfoTag::IsUpcoming | ( | ) | const |
Check if this event is in the future.
| std::string CPVREpgInfoTag::OriginalTitle | ( | ) | const |
Get the original title of this event.
| int CPVREpgInfoTag::ParentalRating | ( | ) | const |
Get the parental rating of this event.
| std::string CPVREpgInfoTag::ParentalRatingCode | ( | ) | const |
Get the parental rating code of this event.
| std::string CPVREpgInfoTag::Path | ( | ) | const |
The path to this event.
| std::string CPVREpgInfoTag::Plot | ( | ) | const |
Get the plot of this event.
| std::string CPVREpgInfoTag::PlotOutline | ( | ) | const |
Get the plot outline of this event.
| int CPVREpgInfoTag::Progress | ( | ) | const |
Get the progress of this tag in seconds.
| float CPVREpgInfoTag::ProgressPercentage | ( | ) | const |
Get the progress of this tag in percent.
| bool CPVREpgInfoTag::QueuePersistQuery | ( | const std::shared_ptr< CPVREpgDatabase > & | database | ) |
Write query to persist this tag in the query queue of the given database.
| database | The database. |
| std::string CPVREpgInfoTag::SeriesLink | ( | ) | const |
The series link for this event.
| int CPVREpgInfoTag::SeriesNumber | ( | ) | const |
The series number of this event.
| void CPVREpgInfoTag::SetChannelData | ( | const std::shared_ptr< CPVREpgChannelData > & | data | ) |
Set data for the channel linked to this EPG infotag.
| data | The channel data. |
| void CPVREpgInfoTag::SetEndFromUTC | ( | const CDateTime & | end | ) |
Change the event's end time.
| end | The new end time. |
| void CPVREpgInfoTag::SetEpgID | ( | int | iEpgID | ) |
Sets the EPG id for this event.
| iEpgID | The EPG id. |
| void CPVREpgInfoTag::SetUniqueBroadcastID | ( | unsigned int | iUniqueBroadcastID | ) |
Change the unique broadcast ID of this event.
| iUniqueBroadcastId | The new unique broadcast ID. |
| int CPVREpgInfoTag::StarRating | ( | ) | const |
Get the star rating of this event.
| CDateTime CPVREpgInfoTag::StartAsLocalTime | ( | ) | const |
Get the event's start time.
| CDateTime CPVREpgInfoTag::StartAsUTC | ( | ) | const |
Get the event's start time.
| std::string CPVREpgInfoTag::Title | ( | void | ) | const |
Get the title of this event.
|
static |
Split the given string into tokens. Interprets occurrences of EPG_STRING_TOKEN_SEPARATOR in the string as separator.
| str | The string to tokenize. |
| unsigned int CPVREpgInfoTag::UniqueBroadcastID | ( | ) | const |
Get the unique broadcast ID.
| int CPVREpgInfoTag::UniqueChannelID | ( | ) | const |
Get the unique ID of the channel associated with this event.
| bool CPVREpgInfoTag::Update | ( | const CPVREpgInfoTag & | tag, |
| bool | bUpdateBroadcastId = true |
||
| ) |
Update the information in this tag with the info in the given tag.
| tag | The new info. |
| bUpdateBroadcastId | If set to false, the tag BroadcastId (locally unique) will not be checked/updated |
| bool CPVREpgInfoTag::WasActive | ( | ) | const |
Check if this event is in the past.
| const std::vector< std::string > CPVREpgInfoTag::Writers | ( | ) | const |
Get the writer(s) of this event.
| int CPVREpgInfoTag::Year | ( | ) | const |
Get the year of this event.
1.8.13