|
kodi
|
Classes | |
| class | CLastWatchedUpdateTimer |
Public Member Functions | |
| CPVRPlaybackState () | |
| ctor. | |
| virtual | ~CPVRPlaybackState () |
| dtor. | |
| void | Clear () |
| clear instances, keep stored UIDs. | |
| void | ReInit () |
| re-init using stored UIDs. | |
| void | OnPlaybackStarted (const CFileItem &item) |
| Inform that playback of an item just started. More... | |
| bool | OnPlaybackStopped (const CFileItem &item) |
| Inform that playback of an item was stopped due to user interaction. More... | |
| bool | OnPlaybackEnded (const CFileItem &item) |
| Inform that playback of an item has stopped without user interaction. More... | |
| void | StartPlayback (CFileItem *item, ContentUtils::PlayMode mode=ContentUtils::PlayMode::CHECK_AUTO_PLAY_NEXT_ITEM) const |
| Start playback of the given item. More... | |
| bool | IsPlaying () const |
| Check if a TV channel, radio channel or recording is playing. More... | |
| bool | IsPlayingTV () const |
| Check if a TV channel is playing. More... | |
| bool | IsPlayingRadio () const |
| Check if a radio channel is playing. More... | |
| bool | IsPlayingEncryptedChannel () const |
| Check if a an encrypted TV or radio channel is playing. More... | |
| bool | IsPlayingRecording () const |
| Check if a recording is playing. More... | |
| bool | IsPlayingEpgTag () const |
| Check if an epg tag is playing. More... | |
| bool | IsPlayingChannel (int iClientID, int iUniqueChannelID) const |
| Check whether playing channel matches given uids. More... | |
| bool | IsPlayingChannel (const std::shared_ptr< const CPVRChannel > &channel) const |
| Check if the given channel is playing. More... | |
| bool | IsPlayingRecording (const std::shared_ptr< const CPVRRecording > &recording) const |
| Check if the given recording is playing. More... | |
| bool | IsPlayingEpgTag (const std::shared_ptr< const CPVREpgInfoTag > &epgTag) const |
| Check if the given epg tag is playing. More... | |
| std::shared_ptr< CPVRChannel > | GetPlayingChannel () const |
| Return the channel that is currently playing. More... | |
| std::shared_ptr< CPVRChannelGroupMember > | GetPlayingChannelGroupMember () const |
| Return the channel group member that is currently playing. More... | |
| std::shared_ptr< CPVRRecording > | GetPlayingRecording () const |
| Return the recording that is currently playing. More... | |
| std::shared_ptr< CPVREpgInfoTag > | GetPlayingEpgTag () const |
| Return the epg tag that is currently playing. More... | |
| int | GetPlayingChannelUniqueID () const |
| Return playing channel unique identifier. More... | |
| std::string | GetPlayingClientName () const |
| Get the name of the playing client, if there is one. More... | |
| int | GetPlayingClientID () const |
| Get the ID of the playing client, if there is one. More... | |
| bool | IsRecording () const |
| Check whether there are active recordings. More... | |
| bool | IsRecordingOnPlayingChannel () const |
| Check whether there is an active recording on the currenlyt playing channel. More... | |
| bool | IsPlayingActiveRecording () const |
| Check if an active recording is playing. More... | |
| bool | CanRecordOnPlayingChannel () const |
| Check whether the currently playing channel can be recorded. More... | |
| void | SetActiveChannelGroup (const std::shared_ptr< CPVRChannelGroup > &group) |
| Set the active channel group. More... | |
| std::shared_ptr< CPVRChannelGroup > | GetActiveChannelGroup (bool bRadio) const |
| Get the active channel group. More... | |
| std::shared_ptr< CPVRChannelGroupMember > | GetLastPlayedChannelGroupMember (bool bRadio) const |
| Get the last played channel group member. More... | |
| std::shared_ptr< CPVRChannelGroupMember > | GetPreviousToLastPlayedChannelGroupMember (bool bRadio) const |
| Get the channel group member that was played before the last played member. More... | |
| CDateTime | GetPlaybackTime (int iClientID, int iUniqueChannelID) const |
| Get current playback time for the given channel, taking timeshifting and playing epg tags into account. More... | |
| CDateTime | GetChannelPlaybackTime (int iClientID, int iUniqueChannelID) const |
| Get current playback time for the given channel, taking timeshifting into account. More... | |
| bool CPVRPlaybackState::CanRecordOnPlayingChannel | ( | ) | const |
Check whether the currently playing channel can be recorded.
| std::shared_ptr< CPVRChannelGroup > CPVRPlaybackState::GetActiveChannelGroup | ( | bool | bRadio | ) | const |
Get the active channel group.
| bRadio | True to get the active radio group, false to get the active TV group. |
| CDateTime CPVRPlaybackState::GetChannelPlaybackTime | ( | int | iClientID, |
| int | iUniqueChannelID | ||
| ) | const |
Get current playback time for the given channel, taking timeshifting into account.
| iClientID | The client id. |
| iUniqueChannelID | The channel uid. |
| std::shared_ptr< CPVRChannelGroupMember > CPVRPlaybackState::GetLastPlayedChannelGroupMember | ( | bool | bRadio | ) | const |
Get the last played channel group member.
| bRadio | True to get the radio group member, false to get the TV group member. |
| CDateTime CPVRPlaybackState::GetPlaybackTime | ( | int | iClientID, |
| int | iUniqueChannelID | ||
| ) | const |
Get current playback time for the given channel, taking timeshifting and playing epg tags into account.
| iClientID | The client id. |
| iUniqueChannelID | The channel uid. |
| std::shared_ptr< CPVRChannel > CPVRPlaybackState::GetPlayingChannel | ( | ) | const |
Return the channel that is currently playing.
| std::shared_ptr< CPVRChannelGroupMember > CPVRPlaybackState::GetPlayingChannelGroupMember | ( | ) | const |
Return the channel group member that is currently playing.
| int CPVRPlaybackState::GetPlayingChannelUniqueID | ( | ) | const |
Return playing channel unique identifier.
| int CPVRPlaybackState::GetPlayingClientID | ( | ) | const |
Get the ID of the playing client, if there is one.
| std::string CPVRPlaybackState::GetPlayingClientName | ( | ) | const |
Get the name of the playing client, if there is one.
| std::shared_ptr< CPVREpgInfoTag > CPVRPlaybackState::GetPlayingEpgTag | ( | ) | const |
Return the epg tag that is currently playing.
| std::shared_ptr< CPVRRecording > CPVRPlaybackState::GetPlayingRecording | ( | ) | const |
Return the recording that is currently playing.
| std::shared_ptr< CPVRChannelGroupMember > CPVRPlaybackState::GetPreviousToLastPlayedChannelGroupMember | ( | bool | bRadio | ) | const |
Get the channel group member that was played before the last played member.
| bRadio | True to get the radio group member, false to get the TV group member. |
| bool CPVRPlaybackState::IsPlaying | ( | ) | const |
Check if a TV channel, radio channel or recording is playing.
| bool CPVRPlaybackState::IsPlayingActiveRecording | ( | ) | const |
Check if an active recording is playing.
| bool CPVRPlaybackState::IsPlayingChannel | ( | int | iClientID, |
| int | iUniqueChannelID | ||
| ) | const |
Check whether playing channel matches given uids.
| iClientID | The client id. |
| iUniqueChannelID | The channel uid. |
| bool CPVRPlaybackState::IsPlayingChannel | ( | const std::shared_ptr< const CPVRChannel > & | channel | ) | const |
Check if the given channel is playing.
| channel | The channel to check. |
| bool CPVRPlaybackState::IsPlayingEncryptedChannel | ( | ) | const |
Check if a an encrypted TV or radio channel is playing.
| bool CPVRPlaybackState::IsPlayingEpgTag | ( | ) | const |
Check if an epg tag is playing.
| bool CPVRPlaybackState::IsPlayingEpgTag | ( | const std::shared_ptr< const CPVREpgInfoTag > & | epgTag | ) | const |
Check if the given epg tag is playing.
| epgTag | The tag to check. |
| bool CPVRPlaybackState::IsPlayingRadio | ( | ) | const |
Check if a radio channel is playing.
| bool CPVRPlaybackState::IsPlayingRecording | ( | ) | const |
Check if a recording is playing.
| bool CPVRPlaybackState::IsPlayingRecording | ( | const std::shared_ptr< const CPVRRecording > & | recording | ) | const |
Check if the given recording is playing.
| recording | The recording to check. |
| bool CPVRPlaybackState::IsPlayingTV | ( | ) | const |
Check if a TV channel is playing.
| bool CPVRPlaybackState::IsRecording | ( | ) | const |
Check whether there are active recordings.
| bool CPVRPlaybackState::IsRecordingOnPlayingChannel | ( | ) | const |
Check whether there is an active recording on the currenlyt playing channel.
| bool CPVRPlaybackState::OnPlaybackEnded | ( | const CFileItem & | item | ) |
Inform that playback of an item has stopped without user interaction.
| item | The item that ended to play. |
| void CPVRPlaybackState::OnPlaybackStarted | ( | const CFileItem & | item | ) |
Inform that playback of an item just started.
| item | The item that started to play. |
| bool CPVRPlaybackState::OnPlaybackStopped | ( | const CFileItem & | item | ) |
Inform that playback of an item was stopped due to user interaction.
| item | The item that stopped to play. |
| void CPVRPlaybackState::SetActiveChannelGroup | ( | const std::shared_ptr< CPVRChannelGroup > & | group | ) |
Set the active channel group.
| group | The new group. |
| void CPVRPlaybackState::StartPlayback | ( | CFileItem * | item, |
| ContentUtils::PlayMode | mode = ContentUtils::PlayMode::CHECK_AUTO_PLAY_NEXT_ITEM |
||
| ) | const |
Start playback of the given item.
| item | containing a channel, a recording or an epg tag. |
| mode | playback mode. |
1.8.13