summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h')
-rw-r--r--xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h20
1 files changed, 19 insertions, 1 deletions
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
@@ -262,6 +262,14 @@ extern "C"
262 PVR_ERROR RenameRecording(const PVR_RECORDING& recording); 262 PVR_ERROR RenameRecording(const PVR_RECORDING& recording);
263 263
264 /*! 264 /*!
265 * Set the lifetime of a recording on the backend.
266 * @param recording The recording to change the lifetime for. recording.iLifetime contains the new lieftime value.
267 * @return PVR_ERROR_NO_ERROR if the recording's lifetime has been set successfully.
268 * @remarks Required if bSupportsRecordingsLifetimeChange is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function.
269 */
270 PVR_ERROR SetRecordingLifetime(const PVR_RECORDING* recording);
271
272 /*!
265 * Set the play count of a recording on the backend. 273 * Set the play count of a recording on the backend.
266 * @param recording The recording to change the play count. 274 * @param recording The recording to change the play count.
267 * @param count Play count. 275 * @param count Play count.
@@ -413,11 +421,19 @@ extern "C"
413 * Get the signal status of the stream that's currently open. 421 * Get the signal status of the stream that's currently open.
414 * @param signalStatus The signal status. 422 * @param signalStatus The signal status.
415 * @return True if the signal status has been read successfully, false otherwise. 423 * @return True if the signal status has been read successfully, false otherwise.
416 * @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. 424 * @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.
417 */ 425 */
418 PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS& signalStatus); 426 PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS& signalStatus);
419 427
420 /*! 428 /*!
429 * Get the descramble information of the stream that's currently open.
430 * @param[out] descrambleInfo The descramble information.
431 * @return True if the decramble information has been read successfully, false otherwise.
432 * @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.
433 */
434 PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO* descrambleInfo);
435
436 /*!
421 * Get the stream URL for a channel from the backend. Used by the MediaPortal add-on. 437 * Get the stream URL for a channel from the backend. Used by the MediaPortal add-on.
422 * @param channel The channel to get the stream URL for. 438 * @param channel The channel to get the stream URL for.
423 * @return The requested URL. 439 * @return The requested URL.
@@ -660,6 +676,7 @@ extern "C"
660 pClient->toAddon.UndeleteRecording = UndeleteRecording; 676 pClient->toAddon.UndeleteRecording = UndeleteRecording;
661 pClient->toAddon.DeleteAllRecordingsFromTrash = DeleteAllRecordingsFromTrash; 677 pClient->toAddon.DeleteAllRecordingsFromTrash = DeleteAllRecordingsFromTrash;
662 pClient->toAddon.RenameRecording = RenameRecording; 678 pClient->toAddon.RenameRecording = RenameRecording;
679 pClient->toAddon.SetRecordingLifetime = SetRecordingLifetime;
663 pClient->toAddon.SetRecordingPlayCount = SetRecordingPlayCount; 680 pClient->toAddon.SetRecordingPlayCount = SetRecordingPlayCount;
664 pClient->toAddon.SetRecordingLastPlayedPosition = SetRecordingLastPlayedPosition; 681 pClient->toAddon.SetRecordingLastPlayedPosition = SetRecordingLastPlayedPosition;
665 pClient->toAddon.GetRecordingLastPlayedPosition = GetRecordingLastPlayedPosition; 682 pClient->toAddon.GetRecordingLastPlayedPosition = GetRecordingLastPlayedPosition;
@@ -680,6 +697,7 @@ extern "C"
680 pClient->toAddon.LengthLiveStream = LengthLiveStream; 697 pClient->toAddon.LengthLiveStream = LengthLiveStream;
681 pClient->toAddon.SwitchChannel = SwitchChannel; 698 pClient->toAddon.SwitchChannel = SwitchChannel;
682 pClient->toAddon.SignalStatus = SignalStatus; 699 pClient->toAddon.SignalStatus = SignalStatus;
700 pClient->toAddon.GetDescrambleInfo = GetDescrambleInfo;
683 pClient->toAddon.GetLiveStreamURL = GetLiveStreamURL; 701 pClient->toAddon.GetLiveStreamURL = GetLiveStreamURL;
684 pClient->toAddon.GetChannelSwitchDelay = GetChannelSwitchDelay; 702 pClient->toAddon.GetChannelSwitchDelay = GetChannelSwitchDelay;
685 pClient->toAddon.CanPauseStream = CanPauseStream; 703 pClient->toAddon.CanPauseStream = CanPauseStream;