From 020fcffb43130287ca08e109f68a67583074a277 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:36:09 +0200 Subject: [PATCH] v22.1.0: PVR Add-on API v9.0.0 --- pvr.iptvsimple/addon.xml.in | 2 +- pvr.iptvsimple/changelog.txt | 3 +++ src/IptvSimple.cpp | 2 +- src/IptvSimple.h | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pvr.iptvsimple/addon.xml.in b/pvr.iptvsimple/addon.xml.in index 678f0286..929577c0 100644 --- a/pvr.iptvsimple/addon.xml.in +++ b/pvr.iptvsimple/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.iptvsimple/changelog.txt b/pvr.iptvsimple/changelog.txt index 47b30686..f785f366 100644 --- a/pvr.iptvsimple/changelog.txt +++ b/pvr.iptvsimple/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/IptvSimple.cpp b/src/IptvSimple.cpp index 28b69707..864761d5 100644 --- a/src/IptvSimple.cpp +++ b/src/IptvSimple.cpp @@ -216,7 +216,7 @@ PVR_ERROR IptvSimple::GetChannels(bool radio, kodi::addon::PVRChannelsResultSet& return m_channels.GetChannels(results, radio); } -PVR_ERROR IptvSimple::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, std::vector& properties) +PVR_ERROR IptvSimple::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, PVR_SOURCE source, std::vector& properties) { if (GetChannel(channel, m_currentChannel)) { diff --git a/src/IptvSimple.h b/src/IptvSimple.h index 11c31535..69537928 100644 --- a/src/IptvSimple.h +++ b/src/IptvSimple.h @@ -57,7 +57,7 @@ class ATTR_DLL_LOCAL IptvSimple : public iptvsimple::IConnectionListener PVR_ERROR GetChannelsAmount(int& amount) override; PVR_ERROR GetChannels(bool radio, kodi::addon::PVRChannelsResultSet& results) 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; PVR_ERROR GetChannelGroupsAmount(int& amount) override; PVR_ERROR GetChannelGroups(bool radio, kodi::addon::PVRChannelGroupsResultSet& results) override;