From 4c3251ec645c8b71820dab7e51e612e5919d4e75 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 23 Jul 2017 16:59:43 +0200 Subject: sync with upstream --- .../kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h') diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h index d504f4b..11e39f8 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h @@ -261,6 +261,14 @@ extern "C" */ PVR_ERROR RenameRecording(const PVR_RECORDING& recording); + /*! + * Set the lifetime of a recording on the backend. + * @param recording The recording to change the lifetime for. recording.iLifetime contains the new lieftime value. + * @return PVR_ERROR_NO_ERROR if the recording's lifetime has been set successfully. + * @remarks Required if bSupportsRecordingsLifetimeChange is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. + */ + PVR_ERROR SetRecordingLifetime(const PVR_RECORDING* recording); + /*! * Set the play count of a recording on the backend. * @param recording The recording to change the play count. @@ -413,10 +421,18 @@ extern "C" * Get the signal status of the stream that's currently open. * @param signalStatus The signal status. * @return True if the signal status has been read successfully, false otherwise. - * @remarks Optional, and only used if bHandlesInputStream or bHandlesDemuxing is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. + * @remarks Optional, and only used if PVR_ADDON_CAPABILITIES::bHandlesInputStream or PVR_ADDON_CAPABILITIES::bHandlesDemuxing is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. */ PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS& signalStatus); + /*! + * Get the descramble information of the stream that's currently open. + * @param[out] descrambleInfo The descramble information. + * @return True if the decramble information has been read successfully, false otherwise. + * @remarks Optional, and only used if PVR_ADDON_CAPABILITIES::bSupportsDescrambleInfo is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. + */ + PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO* descrambleInfo); + /*! * Get the stream URL for a channel from the backend. Used by the MediaPortal add-on. * @param channel The channel to get the stream URL for. @@ -660,6 +676,7 @@ extern "C" pClient->toAddon.UndeleteRecording = UndeleteRecording; pClient->toAddon.DeleteAllRecordingsFromTrash = DeleteAllRecordingsFromTrash; pClient->toAddon.RenameRecording = RenameRecording; + pClient->toAddon.SetRecordingLifetime = SetRecordingLifetime; pClient->toAddon.SetRecordingPlayCount = SetRecordingPlayCount; pClient->toAddon.SetRecordingLastPlayedPosition = SetRecordingLastPlayedPosition; pClient->toAddon.GetRecordingLastPlayedPosition = GetRecordingLastPlayedPosition; @@ -680,6 +697,7 @@ extern "C" pClient->toAddon.LengthLiveStream = LengthLiveStream; pClient->toAddon.SwitchChannel = SwitchChannel; pClient->toAddon.SignalStatus = SignalStatus; + pClient->toAddon.GetDescrambleInfo = GetDescrambleInfo; pClient->toAddon.GetLiveStreamURL = GetLiveStreamURL; pClient->toAddon.GetChannelSwitchDelay = GetChannelSwitchDelay; pClient->toAddon.CanPauseStream = CanPauseStream; -- cgit v1.2.3