diff options
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.h | 48 |
1 files changed, 1 insertions, 47 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 019644b..25cacb4 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 | |||
| @@ -211,14 +211,6 @@ extern "C" | |||
| 211 | PVR_ERROR RenameChannel(const PVR_CHANNEL& channel); | 211 | PVR_ERROR RenameChannel(const PVR_CHANNEL& channel); |
| 212 | 212 | ||
| 213 | /*! | 213 | /*! |
| 214 | * Move a channel to another channel number on the backend. | ||
| 215 | * @param channel The channel to move, containing the new channel number. | ||
| 216 | * @return PVR_ERROR_NO_ERROR if the channel has been moved successfully. | ||
| 217 | * @remarks Optional, and only used if bSupportsChannelSettings is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. | ||
| 218 | */ | ||
| 219 | PVR_ERROR MoveChannel(const PVR_CHANNEL& channel); | ||
| 220 | |||
| 221 | /*! | ||
| 222 | * Show the channel settings dialog, if supported by the backend. | 214 | * Show the channel settings dialog, if supported by the backend. |
| 223 | * @param channel The channel to show the dialog for. | 215 | * @param channel The channel to show the dialog for. |
| 224 | * @return PVR_ERROR_NO_ERROR if the dialog has been displayed successfully. | 216 | * @return PVR_ERROR_NO_ERROR if the dialog has been displayed successfully. |
| @@ -246,7 +238,7 @@ extern "C" | |||
| 246 | /*! | 238 | /*! |
| 247 | * @return The total amount of recordings on the backend or -1 on error. | 239 | * @return The total amount of recordings on the backend or -1 on error. |
| 248 | * @param deleted if set return deleted recording (called if bSupportsRecordingsUndelete set to true) | 240 | * @param deleted if set return deleted recording (called if bSupportsRecordingsUndelete set to true) |
| 249 | * @remarks Required if bSupportsRecordings is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. | 241 | * @remarks Required if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. |
| 250 | */ | 242 | */ |
| 251 | int GetRecordingsAmount(bool deleted); | 243 | int GetRecordingsAmount(bool deleted); |
| 252 | 244 | ||
| @@ -427,12 +419,6 @@ extern "C" | |||
| 427 | long long SeekLiveStream(long long iPosition, int iWhence = SEEK_SET); | 419 | long long SeekLiveStream(long long iPosition, int iWhence = SEEK_SET); |
| 428 | 420 | ||
| 429 | /*! | 421 | /*! |
| 430 | * @return The position in the stream that's currently being read. | ||
| 431 | * @remarks Optional, and only used if bHandlesInputStream is set to true. Return -1 if this add-on won't provide this function. | ||
| 432 | */ | ||
| 433 | long long PositionLiveStream(void); | ||
| 434 | |||
| 435 | /*! | ||
| 436 | * @return The total length of the stream that's currently being read. | 422 | * @return The total length of the stream that's currently being read. |
| 437 | * @remarks Optional, and only used if bHandlesInputStream is set to true. Return -1 if this add-on won't provide this function. | 423 | * @remarks Optional, and only used if bHandlesInputStream is set to true. Return -1 if this add-on won't provide this function. |
| 438 | */ | 424 | */ |
| @@ -520,12 +506,6 @@ extern "C" | |||
| 520 | long long SeekRecordedStream(long long iPosition, int iWhence = SEEK_SET); | 506 | long long SeekRecordedStream(long long iPosition, int iWhence = SEEK_SET); |
| 521 | 507 | ||
| 522 | /*! | 508 | /*! |
| 523 | * @return The position in the stream that's currently being read. | ||
| 524 | * @remarks Optional, and only used if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. | ||
| 525 | */ | ||
| 526 | long long PositionRecordedStream(void); | ||
| 527 | |||
| 528 | /*! | ||
| 529 | * @return The total length of the stream that's currently being read. | 509 | * @return The total length of the stream that's currently being read. |
| 530 | * @remarks Optional, and only used if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. | 510 | * @remarks Optional, and only used if bSupportsRecordings is set to true. Return -1 if this add-on won't provide this function. |
| 531 | */ | 511 | */ |
| @@ -606,25 +586,6 @@ extern "C" | |||
| 606 | void SetSpeed(int speed); | 586 | void SetSpeed(int speed); |
| 607 | 587 | ||
| 608 | /*! | 588 | /*! |
| 609 | * Get actual playing time from addon. With timeshift enabled this is | ||
| 610 | * different to live. | ||
| 611 | * @return time as UTC | ||
| 612 | */ | ||
| 613 | time_t GetPlayingTime(); | ||
| 614 | |||
| 615 | /*! | ||
| 616 | * Get time of oldest packet in timeshift buffer | ||
| 617 | * @return time as UTC | ||
| 618 | */ | ||
| 619 | time_t GetBufferTimeStart(); | ||
| 620 | |||
| 621 | /*! | ||
| 622 | * Get time of latest packet in timeshift buffer | ||
| 623 | * @return time as UTC | ||
| 624 | */ | ||
| 625 | time_t GetBufferTimeEnd(); | ||
| 626 | |||
| 627 | /*! | ||
| 628 | * Get the hostname of the pvr backend server | 589 | * Get the hostname of the pvr backend server |
| 629 | * @return hostname as ip address or alias. If backend does not | 590 | * @return hostname as ip address or alias. If backend does not |
| 630 | * utilize a server, return empty string. | 591 | * utilize a server, return empty string. |
| @@ -699,7 +660,6 @@ extern "C" | |||
| 699 | pClient->toAddon.GetChannels = GetChannels; | 660 | pClient->toAddon.GetChannels = GetChannels; |
| 700 | pClient->toAddon.DeleteChannel = DeleteChannel; | 661 | pClient->toAddon.DeleteChannel = DeleteChannel; |
| 701 | pClient->toAddon.RenameChannel = RenameChannel; | 662 | pClient->toAddon.RenameChannel = RenameChannel; |
| 702 | pClient->toAddon.MoveChannel = MoveChannel; | ||
| 703 | pClient->toAddon.OpenDialogChannelSettings = OpenDialogChannelSettings; | 663 | pClient->toAddon.OpenDialogChannelSettings = OpenDialogChannelSettings; |
| 704 | pClient->toAddon.OpenDialogChannelAdd = OpenDialogChannelAdd; | 664 | pClient->toAddon.OpenDialogChannelAdd = OpenDialogChannelAdd; |
| 705 | 665 | ||
| @@ -726,7 +686,6 @@ extern "C" | |||
| 726 | pClient->toAddon.CloseLiveStream = CloseLiveStream; | 686 | pClient->toAddon.CloseLiveStream = CloseLiveStream; |
| 727 | pClient->toAddon.ReadLiveStream = ReadLiveStream; | 687 | pClient->toAddon.ReadLiveStream = ReadLiveStream; |
| 728 | pClient->toAddon.SeekLiveStream = SeekLiveStream; | 688 | pClient->toAddon.SeekLiveStream = SeekLiveStream; |
| 729 | pClient->toAddon.PositionLiveStream = PositionLiveStream; | ||
| 730 | pClient->toAddon.LengthLiveStream = LengthLiveStream; | 689 | pClient->toAddon.LengthLiveStream = LengthLiveStream; |
| 731 | pClient->toAddon.SignalStatus = SignalStatus; | 690 | pClient->toAddon.SignalStatus = SignalStatus; |
| 732 | pClient->toAddon.GetDescrambleInfo = GetDescrambleInfo; | 691 | pClient->toAddon.GetDescrambleInfo = GetDescrambleInfo; |
| @@ -742,7 +701,6 @@ extern "C" | |||
| 742 | pClient->toAddon.CloseRecordedStream = CloseRecordedStream; | 701 | pClient->toAddon.CloseRecordedStream = CloseRecordedStream; |
| 743 | pClient->toAddon.ReadRecordedStream = ReadRecordedStream; | 702 | pClient->toAddon.ReadRecordedStream = ReadRecordedStream; |
| 744 | pClient->toAddon.SeekRecordedStream = SeekRecordedStream; | 703 | pClient->toAddon.SeekRecordedStream = SeekRecordedStream; |
| 745 | pClient->toAddon.PositionRecordedStream = PositionRecordedStream; | ||
| 746 | pClient->toAddon.LengthRecordedStream = LengthRecordedStream; | 704 | pClient->toAddon.LengthRecordedStream = LengthRecordedStream; |
| 747 | 705 | ||
| 748 | pClient->toAddon.DemuxReset = DemuxReset; | 706 | pClient->toAddon.DemuxReset = DemuxReset; |
| @@ -750,10 +708,6 @@ extern "C" | |||
| 750 | pClient->toAddon.DemuxFlush = DemuxFlush; | 708 | pClient->toAddon.DemuxFlush = DemuxFlush; |
| 751 | pClient->toAddon.DemuxRead = DemuxRead; | 709 | pClient->toAddon.DemuxRead = DemuxRead; |
| 752 | 710 | ||
| 753 | pClient->toAddon.GetPlayingTime = GetPlayingTime; | ||
| 754 | pClient->toAddon.GetBufferTimeStart = GetBufferTimeStart; | ||
| 755 | pClient->toAddon.GetBufferTimeEnd = GetBufferTimeEnd; | ||
| 756 | |||
| 757 | pClient->toAddon.GetBackendHostname = GetBackendHostname; | 711 | pClient->toAddon.GetBackendHostname = GetBackendHostname; |
| 758 | 712 | ||
| 759 | pClient->toAddon.IsTimeshifting = IsTimeshifting; | 713 | pClient->toAddon.IsTimeshifting = IsTimeshifting; |
