|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <libXBMC_pvr.h>
Public Member Functions | |
| CHelper_libXBMC_pvr (void) | |
| ~CHelper_libXBMC_pvr (void) | |
| bool | RegisterMe (void *handle) |
| Resolve all callback methods. More... | |
| void | TransferEpgEntry (const ADDON_HANDLE handle, const EPG_TAG *entry) |
| Transfer an EPG tag from the add-on to XBMC. More... | |
| void | TransferChannelEntry (const ADDON_HANDLE handle, const PVR_CHANNEL *entry) |
| Transfer a channel entry from the add-on to XBMC. More... | |
| void | TransferTimerEntry (const ADDON_HANDLE handle, const PVR_TIMER *entry) |
| Transfer a timer entry from the add-on to XBMC. More... | |
| void | TransferRecordingEntry (const ADDON_HANDLE handle, const PVR_RECORDING *entry) |
| Transfer a recording entry from the add-on to XBMC. More... | |
| void | TransferChannelGroup (const ADDON_HANDLE handle, const PVR_CHANNEL_GROUP *entry) |
| Transfer a channel group from the add-on to XBMC. The group will be created if it doesn't exist. More... | |
| void | TransferChannelGroupMember (const ADDON_HANDLE handle, const PVR_CHANNEL_GROUP_MEMBER *entry) |
| Transfer a channel group member entry from the add-on to XBMC. The channel will be added to the group if the group can be found. More... | |
| void | AddMenuHook (PVR_MENUHOOK *hook) |
| Add or replace a menu hook for the context menu for this add-on. More... | |
| void | Recording (const char *strRecordingName, const char *strFileName, bool bOn) |
| Display a notification in XBMC that a recording started or stopped on the server. More... | |
| void | TriggerTimerUpdate (void) |
| Request XBMC to update it's list of timers. More... | |
| void | TriggerRecordingUpdate (void) |
| Request XBMC to update it's list of recordings. More... | |
| void | TriggerChannelUpdate (void) |
| Request XBMC to update it's list of channels. More... | |
| void | TriggerEpgUpdate (unsigned int iChannelUid) |
| Schedule an EPG update for the given channel channel. More... | |
| void | TriggerChannelGroupsUpdate (void) |
| Request XBMC to update it's list of channel groups. More... | |
| void | ConnectionStateChange (const char *strConnectionString, PVR_CONNECTION_STATE newState, const char *strMessage) |
| Notify a state change for a PVR backend connection. More... | |
| void | EpgEventStateChange (EPG_TAG *tag, EPG_EVENT_STATE newState) |
| Notify a state change for an EPG event. More... | |
| xbmc_codec_t | GetCodecByName (const char *strCodecName) |
| Get the codec id used by XBMC. More... | |
|
inline |
|
inline |
|
inline |
Add or replace a menu hook for the context menu for this add-on.
| hook | The hook to add |
|
inline |
Notify a state change for a PVR backend connection.
| strConnectionString | The connection string reported by the backend that can be displayed in the UI. |
| newState | The new state. |
| strMessage | A localized addon-defined string representing the new state, that can be displayed in the UI or NULL if the Kodi-defined default string for the new state shall be displayed. |
|
inline |
Notify a state change for an EPG event.
| tag | The EPG event. |
| newState | The new state. For EPG_EVENT_CREATED and EPG_EVENT_UPDATED, tag must be filled with all available event data, not just a delta. For EPG_EVENT_DELETED, it is sufficient to fill EPG_TAG.iUniqueBroadcastId |
|
inline |
Get the codec id used by XBMC.
| strCodecName | The name of the codec |
|
inline |
Display a notification in XBMC that a recording started or stopped on the server.
| strRecordingName | The name of the recording to display |
| strFileName | The filename of the recording |
| bOn | True when recording started, false when it stopped |
|
inline |
Resolve all callback methods.
| handle | Pointer to the add-on |
|
inline |
Transfer a channel entry from the add-on to XBMC.
| handle | The handle parameter that XBMC used when requesting the channel list |
| entry | The entry to transfer to XBMC |
|
inline |
Transfer a channel group from the add-on to XBMC. The group will be created if it doesn't exist.
| handle | The handle parameter that XBMC used when requesting the channel groups list |
| entry | The entry to transfer to XBMC |
|
inline |
Transfer a channel group member entry from the add-on to XBMC. The channel will be added to the group if the group can be found.
| handle | The handle parameter that XBMC used when requesting the channel group members list |
| entry | The entry to transfer to XBMC |
|
inline |
Transfer an EPG tag from the add-on to XBMC.
| handle | The handle parameter that XBMC used when requesting the EPG data |
| entry | The entry to transfer to XBMC |
|
inline |
Transfer a recording entry from the add-on to XBMC.
| handle | The handle parameter that XBMC used when requesting the recordings list |
| entry | The entry to transfer to XBMC |
|
inline |
Transfer a timer entry from the add-on to XBMC.
| handle | The handle parameter that XBMC used when requesting the timers list |
| entry | The entry to transfer to XBMC |
Request XBMC to update it's list of channel groups.
Request XBMC to update it's list of channels.
|
inline |
Schedule an EPG update for the given channel channel.
| iChannelUid | The unique id of the channel for this add-on |
Request XBMC to update it's list of recordings.
Request XBMC to update it's list of timers.