|
| CPVRChannelGroupInternal (bool bRadio) |
| Create a new internal channel group. More...
|
|
| CPVRChannelGroupInternal (const CPVRChannelsPath &path) |
| Create a new internal channel group. More...
|
|
size_t | GetNumHiddenChannels () const override |
| The amount of channels in this container. More...
|
|
bool | IsGroupMember (const std::shared_ptr< CPVRChannel > &channel) const override |
|
bool | AppendToGroup (const std::shared_ptr< CPVRChannel > &channel) override |
|
bool | RemoveFromGroup (const std::shared_ptr< CPVRChannel > &channel) override |
|
void | CheckGroupName () |
| Check whether the group name is still correct after the language setting changed.
|
|
bool | CreateChannelEpgs (bool bForce=false) override |
| Create an EPG table for each channel. More...
|
|
| CPVRChannelGroup (const CPVRChannelsPath &path, const std::shared_ptr< CPVRChannelGroup > &allChannelsGroup) |
| Create a new channel group instance. More...
|
|
| CPVRChannelGroup (const PVR_CHANNEL_GROUP &group, const std::shared_ptr< CPVRChannelGroup > &allChannelsGroup) |
| Create a new channel group instance from a channel group provided by an add-on. More...
|
|
bool | operator== (const CPVRChannelGroup &right) const |
|
bool | operator!= (const CPVRChannelGroup &right) const |
|
void | FillAddonData (PVR_CHANNEL_GROUP &group) const |
| Copy over data to the given PVR_CHANNEL_GROUP instance. More...
|
|
CEventStream< PVREvent > & | Events () |
| Query the events available for CEventStream.
|
|
size_t | Size () const |
|
const CPVRChannelsPath & | GetPath () const |
| Get the path of this group. More...
|
|
void | SetPath (const CPVRChannelsPath &path) |
| Set the path of this group. More...
|
|
bool | SetChannelNumber (const std::shared_ptr< CPVRChannel > &channel, const CPVRChannelNumber &channelNumber) |
| Change the channelnumber of a group. Used by CGUIDialogPVRChannelManager. Call SortByChannelNumber() and Renumber() after all changes are done. More...
|
|
void | SetGroupName (const std::string &strGroupName) |
| Change the name of this group. More...
|
|
bool | Persist () |
| Persist changed or new data. More...
|
|
bool | IsInternalGroup () const |
| Check if this group is the internal group containing all channels. More...
|
|
bool | IsRadio () const |
| True if this group holds radio channels, false if it holds TV channels. More...
|
|
int | GroupID () const |
| The database ID of this group. More...
|
|
void | SetGroupID (int iGroupId) |
| Set the database ID of this group. More...
|
|
void | SetGroupType (int iGroupType) |
| Set the type of this group. More...
|
|
int | GroupType () const |
| Return the type of this group.
|
|
time_t | LastWatched () const |
|
void | SetLastWatched (time_t iLastWatched) |
| Last time group has been watched. More...
|
|
uint64_t | LastOpened () const |
|
void | SetLastOpened (uint64_t iLastOpened) |
| Set the time in milliseconds from epoch this group was last opened. More...
|
|
std::string | GroupName () const |
| The name of this group. More...
|
|
void | UseBackendChannelOrderChanged () override |
|
void | UseBackendChannelNumbersChanged () override |
|
void | StartGroupChannelNumbersFromOneChanged () override |
|
std::shared_ptr< CPVRChannelGroupMember > | GetLastPlayedChannelGroupMember (int iCurrentChannel=-1) const |
| Get the channel group member that was played last. More...
|
|
GroupMemberPair | GetLastAndPreviousToLastPlayedChannelGroupMember () const |
| Get the last and previous to last played channel group members. More...
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetByChannelNumber (const CPVRChannelNumber &channelNumber) const |
| Get a channel group member given it's active channel number. More...
|
|
CPVRChannelNumber | GetChannelNumber (const std::shared_ptr< CPVRChannel > &channel) const |
| Get the channel number in this group of the given channel. More...
|
|
CPVRChannelNumber | GetClientChannelNumber (const std::shared_ptr< CPVRChannel > &channel) const |
| Get the client channel number in this group of the given channel. More...
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetNextChannelGroupMember (const std::shared_ptr< CPVRChannelGroupMember > &groupMember) const |
| Get the next channel group member in this group. More...
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetPreviousChannelGroupMember (const std::shared_ptr< CPVRChannelGroupMember > &groupMember) const |
| Get the previous channel group member in this group. More...
|
|
std::shared_ptr< CPVRChannel > | GetByChannelID (int iChannelID) const |
| Get a channel given it's channel ID. More...
|
|
std::vector< std::shared_ptr< CPVRChannelGroupMember > > | GetMembers (Include eFilter=Include::ALL) const |
| Get the current members of this group. More...
|
|
void | GetChannelNumbers (std::vector< std::string > &channelNumbers) const |
| Get the list of active channel numbers in a group. More...
|
|
bool | HasChannels () const |
| Does this container holds channels. More...
|
|
bool | HasNewChannels () const |
|
bool | HasChanges () const |
|
bool | IsNew () const |
|
bool | UpdateChannel (const std::pair< int, int > &storageId, const std::string &strChannelName, const std::string &strIconPath, int iEPGSource, int iChannelNumber, bool bHidden, bool bEPGEnabled, bool bParentalLocked, bool bUserSetIcon, bool bUserSetHidden) |
| Update a channel group member with given data. More...
|
|
std::shared_ptr< CPVRChannel > | GetByUniqueID (int iUniqueChannelId, int iClientID) const |
| Get a channel given the channel number on the client. More...
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetByUniqueID (const std::pair< int, int > &id) const |
| Get a channel group member given its storage id. More...
|
|
bool | SetHidden (bool bHidden) |
|
bool | IsHidden () const |
|
int | GetPosition () const |
|
void | SetPosition (int iPosition) |
|
bool | HasValidDataForClient (int iClientId) const |
| Check, whether data for a given pvr client are currently valid. For instance, data can be invalid because the client's backend was offline when data was last queried. More...
|
|
bool | HasValidDataForClients (const std::vector< std::shared_ptr< CPVRClient >> &clients) const |
| Check, whether data for given pvr clients are currently valid. For instance, data can be invalid because the client's backend was offline when data was last queried. More...
|
|
bool | UpdateChannelNumbersFromAllChannelsGroup () |
| Update the channel numbers according to the all channels group and publish event. More...
|
|
void | Delete () |
| Remove this group from database.
|
|
bool | IsDeleted () const |
| Whether this group is deleted. More...
|
|
int | CleanupCachedImages () |
| Erase stale texture db entries and image files. More...
|
|
void | Sort () |
| Sort the group.
|
|
bool | SortAndRenumber () |
| Sort the group and fix up channel numbers. More...
|
|
bool | Renumber (RenumberMode mode=NORMAL) |
| Remove invalid channels and updates the channel numbers. More...
|
|
virtual void | SyncChannelGroupsChanged () |
|