From 28fb889533f5e0ecb0bad3f11dda8132fd5252b6 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:36:11 +0200 Subject: [PATCH] v22.1.0: PVR Add-on API v9.0.0 --- pvr.mediaportal.tvserver/addon.xml.in | 2 +- pvr.mediaportal.tvserver/changelog.txt | 3 +++ src/pvrclient-mediaportal.cpp | 1 + src/pvrclient-mediaportal.h | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pvr.mediaportal.tvserver/addon.xml.in b/pvr.mediaportal.tvserver/addon.xml.in index 18555e5b..871876d3 100644 --- a/pvr.mediaportal.tvserver/addon.xml.in +++ b/pvr.mediaportal.tvserver/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.mediaportal.tvserver/changelog.txt b/pvr.mediaportal.tvserver/changelog.txt index 0d111de6..b72b07a0 100644 --- a/pvr.mediaportal.tvserver/changelog.txt +++ b/pvr.mediaportal.tvserver/changelog.txt @@ -1,3 +1,6 @@ +v22.1.0 +- PVR Add-on API v9.0.0 + v22.0.0 - Initial release for Piers (PVR Add-on API v8.4.0) diff --git a/src/pvrclient-mediaportal.cpp b/src/pvrclient-mediaportal.cpp index 91185f15..31968935 100644 --- a/src/pvrclient-mediaportal.cpp +++ b/src/pvrclient-mediaportal.cpp @@ -2256,6 +2256,7 @@ PVR_ERROR cPVRClientMediaPortal::GetRecordingStreamProperties(const kodi::addon: } PVR_ERROR cPVRClientMediaPortal::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, + PVR_SOURCE source, std::vector& properties) { // Is this a webstream? diff --git a/src/pvrclient-mediaportal.h b/src/pvrclient-mediaportal.h index 6898f034..da8896e8 100644 --- a/src/pvrclient-mediaportal.h +++ b/src/pvrclient-mediaportal.h @@ -86,7 +86,7 @@ class ATTR_DLL_LOCAL cPVRClientMediaPortal void CloseLiveStream() override; int ReadLiveStream(unsigned char *pBuffer, unsigned int iBufferSize) override; PVR_ERROR GetSignalStatus(int channelUid, kodi::addon::PVRSignalStatus& signalStatus) override; - PVR_ERROR GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, std::vector& properties) override; + PVR_ERROR GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, PVR_SOURCE source, std::vector& properties) override; int64_t SeekLiveStream(int64_t iPosition, int iWhence = SEEK_SET) override; int64_t LengthLiveStream(void) override;