|
| | CPVRChannelGroupAllChannels (bool bRadio) |
| | Create a new all channels channel group. More...
|
| |
| | CPVRChannelGroupAllChannels (const CPVRChannelsPath &path) |
| | Create a new all channels channel group. More...
|
| |
| 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. More...
|
| |
| bool | SupportsDelete () const override |
| | Check whether this group could be deleted by the user. More...
|
| |
| bool | IsChannelsOwner () const override |
| | Check whether this group is owner of the channel instances it contains. More...
|
| |
| | CPVRChannelGroupFromUser (const CPVRChannelsPath &path, const std::shared_ptr< const CPVRChannelGroup > &allChannelsGroup) |
| | Create a new channel group instance. More...
|
| |
| bool | SupportsDelete () const override |
| | Check whether this group could be deleted by the user. More...
|
| |
| bool | SupportsMemberAdd () const override |
| | Check whether members could be added to this group by the user. More...
|
| |
| bool | SupportsMemberRemove () const override |
| | Check whether members could be removed from this group by the user. More...
|
| |
| bool | IsChannelsOwner () const override |
| | Check whether this group is owner of the channel instances it contains. More...
|
| |
| bool | UpdateFromClients (const std::vector< std::shared_ptr< CPVRClient >> &clients) override |
| | Update data with channel group members from the given clients, sync with local data. More...
|
| |
| | CPVRChannelGroup (const CPVRChannelsPath &path, const std::shared_ptr< const CPVRChannelGroup > &allChannelsGroup) |
| | Create a new channel group instance. 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.
|
| |
| 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. More...
|
| |
|
void | Unload () |
| | Clear all data.
|
| |
| size_t | Size () const |
| |
| int | GetClientID () const |
| | Get the identifier of the client that serves this channel group. More...
|
| |
| void | SetClientID (int clientID) |
| | Set the identifier of the client that serves this channel group. More...
|
| |
| const CPVRChannelsPath & | GetPath () const |
| | Get the path of this group. More...
|
| |
| void | SetPath (const CPVRChannelsPath &path) |
| | Set the path of this group. More...
|
| |
| void | SetGroupName (const std::string &strGroupName, bool isUserSetName=false) |
| | Change the name of this group. More...
|
| |
| void | SetClientGroupName (const std::string &groupName) |
| | Set the name this group has on the client. More...
|
| |
| bool | IsUserSetName () const |
| | Check whether the group name was set by the user. More...
|
| |
| bool | Persist () |
| | Persist changed or new data. 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...
|
| |
| 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...
|
| |
| std::string | ClientGroupName () const |
| | Get the name of this group on the client. 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< const CPVRChannel > &channel) const |
| | Get the channel number in this group of the given channel. More...
|
| |
| CPVRChannelNumber | GetClientChannelNumber (const std::shared_ptr< const 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< const CPVRChannelGroupMember > &groupMember) const |
| | Get the next channel group member in this group. More...
|
| |
| std::shared_ptr< CPVRChannelGroupMember > | GetPreviousChannelGroupMember (const std::shared_ptr< const 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 |
| | Check whether this container has any channels. More...
|
| |
| bool | HasNewChannels () const |
| | Check whether this container has any new channels. More...
|
| |
| bool | HasHiddenChannels () const |
| | Check whether this container has any hidden channels. More...
|
| |
| 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. 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 |
| | Get the local position of this group. More...
|
| |
| void | SetPosition (int iPosition) |
| | Set the local position of this group. More...
|
| |
| int | GetClientPosition () const |
| | Get the position of this group as supplied by the PVR client. More...
|
| |
| void | SetClientPosition (int iPosition) |
| | Set the client-supplied position of this group. More...
|
| |
| 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...
|
| |
| int | GetClientPriority () const |
| | Get the priority of the client that provides this group. More...
|
| |
|
void | UpdateClientPriorities () |
| | Update the client priority for this group and all members of this group.
|
| |
|
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...
|
| |