|
| CPVRChannelGroupAllChannels ()=delete |
|
| CPVRChannelGroupAllChannels (bool bRadio) |
| Create a new all channels channel group.
|
|
| CPVRChannelGroupAllChannels (const CPVRChannelsPath &path) |
| Create a new all channels channel group.
|
|
| ~CPVRChannelGroupAllChannels () override |
|
bool | IsGroupMember (const std::shared_ptr< const CPVRChannelGroupMember > &groupMember) const override |
|
bool | AppendToGroup (const std::shared_ptr< const CPVRChannelGroupMember > &groupMember) override |
|
bool | RemoveFromGroup (const std::shared_ptr< const CPVRChannelGroupMember > &groupMember) override |
|
void | CheckGroupName () |
| Check whether the group name is still correct after the language setting changed.
|
|
Origin | GetOrigin () const override |
| Get the group's origin.
|
|
int | GroupType () const override |
| Return the type of this group.
|
|
bool | SupportsDelete () const override |
| Check whether this group could be deleted by the user.
|
|
bool | SupportsMemberAdd () const override |
| Check whether members could be added to this group by the user.
|
|
bool | SupportsMemberRemove () const override |
| Check whether members could be removed from this group by the user.
|
|
bool | IsChannelsOwner () const override |
| Check whether this group is owner of the channel instances it contains.
|
|
bool | ShouldBeIgnored (const std::vector< std::shared_ptr< CPVRChannelGroup > > &allChannelGroups) const override |
| Check whether this group should be ignored, e.g. not presented to the user and API.
|
|
| CPVRChannelGroup (const CPVRChannelsPath &path, const std::shared_ptr< const CPVRChannelGroup > &allChannelsGroup) |
| Create a new channel group instance.
|
|
| ~CPVRChannelGroup () override |
|
bool | operator== (const CPVRChannelGroup &right) const |
|
bool | operator!= (const CPVRChannelGroup &right) const |
|
CEventStream< PVREvent > & | Events () |
| Query the events available for CEventStream.
|
|
bool | LoadFromDatabase (const std::map< std::pair< int, int >, std::shared_ptr< CPVRChannel > > &channels, const std::vector< std::shared_ptr< CPVRClient > > &clients) |
| Load the channels from the database.
|
|
void | Unload () |
| Clear all data.
|
|
size_t | Size () const |
|
int | GetClientID () const |
| Get the identifier of the client that serves this channel group.
|
|
void | SetClientID (int clientID) |
| Set the identifier of the client that serves this channel group.
|
|
const CPVRChannelsPath & | GetPath () const |
| Get the path of this group.
|
|
void | SetPath (const CPVRChannelsPath &path) |
| Set the path of this group.
|
|
bool | SetGroupName (const std::string &strGroupName, bool isUserSetName=false) |
| Change the name of this group.
|
|
void | SetClientGroupName (const std::string &groupName) |
| Set the name this group has on the client.
|
|
bool | IsUserSetName () const |
| Check whether the group name was set by the user.
|
|
bool | Persist () |
| Persist changed or new data.
|
|
bool | IsRadio () const |
| True if this group holds radio channels, false if it holds TV channels.
|
|
int | GroupID () const |
| The database ID of this group.
|
|
void | SetGroupID (int iGroupId) |
| Set the database ID of this group.
|
|
time_t | LastWatched () const |
|
void | SetLastWatched (time_t iLastWatched) |
| Last time group has been watched.
|
|
uint64_t | LastOpened () const |
|
void | SetLastOpened (uint64_t iLastOpened) |
| Set the time in milliseconds from epoch this group was last opened.
|
|
std::string | GroupName () const |
| The name of this group.
|
|
std::string | ClientGroupName () const |
| Get the name of this group on the client.
|
|
void | Sort () |
| Sort the group.
|
|
bool | SortAndRenumber () |
| Sort the group and fix up channel numbers.
|
|
bool | Renumber (RenumberMode mode=NORMAL) |
| Remove invalid channels and updates the channel numbers.
|
|
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.
|
|
GroupMemberPair | GetLastAndPreviousToLastPlayedChannelGroupMember () const |
| Get the last and previous to last played channel group members.
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetByChannelNumber (const CPVRChannelNumber &channelNumber) const |
| Get a channel group member given it's active channel number.
|
|
CPVRChannelNumber | GetChannelNumber (const std::shared_ptr< const CPVRChannel > &channel) const |
| Get the channel number in this group of the given channel.
|
|
CPVRChannelNumber | GetClientChannelNumber (const std::shared_ptr< const CPVRChannel > &channel) const |
| Get the client channel number in this group of the given channel.
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetNextChannelGroupMember (const std::shared_ptr< const CPVRChannelGroupMember > &groupMember) const |
| Get the next channel group member in this group.
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetPreviousChannelGroupMember (const std::shared_ptr< const CPVRChannelGroupMember > &groupMember) const |
| Get the previous channel group member in this group.
|
|
std::shared_ptr< CPVRChannel > | GetByChannelID (int iChannelID) const |
| Get a channel given it's channel ID.
|
|
std::vector< std::shared_ptr< CPVRChannelGroupMember > > | GetMembers (Include eFilter=Include::ALL) const |
| Get the current members of this group.
|
|
void | GetChannelNumbers (std::vector< std::string > &channelNumbers) const |
| Get the list of active channel numbers in a group.
|
|
bool | HasChannels () const |
| Check whether this container has any channels.
|
|
bool | HasNewChannels () const |
| Check whether this container has any new channels.
|
|
bool | HasHiddenChannels () const |
| Check whether this container has any hidden channels.
|
|
bool | HasChanges () const |
|
bool | IsNew () const |
|
std::shared_ptr< CPVRChannel > | GetByUniqueID (int iUniqueChannelId, int iClientID) const |
| Get a channel given the channel number on the client.
|
|
std::shared_ptr< CPVRChannelGroupMember > | GetByUniqueID (const std::pair< int, int > &id) const |
| Get a channel group member given its storage id.
|
|
bool | HasChannelForProvider (int clientId, int providerId) const |
| Check whether at least one channel of this group is offered by the given provider.
|
|
unsigned int | GetChannelCountByProvider (int clientId, int providerId) const |
| Get the total count of channels of this group offered by the given provider.
|
|
bool | SetHidden (bool bHidden) |
| Set the hidden state of this group.
|
|
bool | IsHidden () const |
| Check whether this group is hidden.
|
|
int | GetPosition () const |
| Get the local position of this group.
|
|
bool | SetPosition (int iPosition) |
| Set the local position of this group.
|
|
int | GetClientPosition () const |
| Get the position of this group as supplied by the PVR client.
|
|
void | SetClientPosition (int iPosition) |
| Set the client-supplied position of this group.
|
|
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.
|
|
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.
|
|
bool | UpdateChannelNumbersFromAllChannelsGroup () |
| Update the channel numbers according to the all channels group and publish event.
|
|
void | Delete () |
| Remove this group from database.
|
|
bool | IsDeleted () const |
| Whether this group is deleted.
|
|
int | CleanupCachedImages () |
| Erase stale texture db entries and image files.
|
|
int | GetClientPriority () const |
| Get the priority of the client that provides this group.
|
|
void | UpdateClientPriorities () |
| Update the client priority for this group and all members of this group.
|
|
virtual bool | UpdateGroupMembers (const std::shared_ptr< CPVRChannelGroup > &allChannelsGroup, const std::vector< std::shared_ptr< CPVRChannelGroup > > &allChannelGroups) |
| Update all group members.
|
|
virtual | ~IChannelGroupSettingsCallback ()=default |
|