From 49b6fa606a536beb1db04bb6060558f792ff0436 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:36:13 +0200 Subject: [PATCH] v22.1.0: PVR Add-on API v9.0.0 --- pvr.nextpvr/addon.xml.in | 2 +- pvr.nextpvr/changelog.txt | 3 +++ src/pvrclient-nextpvr.cpp | 2 +- src/pvrclient-nextpvr.h | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pvr.nextpvr/addon.xml.in b/pvr.nextpvr/addon.xml.in index 40775ddf..ea6791b3 100644 --- a/pvr.nextpvr/addon.xml.in +++ b/pvr.nextpvr/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/pvr.nextpvr/changelog.txt b/pvr.nextpvr/changelog.txt index 4223ba48..296bb855 100644 --- a/pvr.nextpvr/changelog.txt +++ b/pvr.nextpvr/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-nextpvr.cpp b/src/pvrclient-nextpvr.cpp index 19dc4698..0830a752 100644 --- a/src/pvrclient-nextpvr.cpp +++ b/src/pvrclient-nextpvr.cpp @@ -562,7 +562,7 @@ PVR_ERROR cPVRClientNextPVR::GetDriveSpace(uint64_t& total, uint64_t& used) return m_recordings.GetDriveSpace(total, used); } -PVR_ERROR cPVRClientNextPVR::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, std::vector& properties) +PVR_ERROR cPVRClientNextPVR::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, PVR_SOURCE source, std::vector& properties) { bool liveStream = m_channels.IsChannelAPlugin(channel.GetUniqueId()); if (liveStream) diff --git a/src/pvrclient-nextpvr.h b/src/pvrclient-nextpvr.h index 97401db1..2896a9d3 100644 --- a/src/pvrclient-nextpvr.h +++ b/src/pvrclient-nextpvr.h @@ -109,7 +109,7 @@ class ATTR_DLL_LOCAL cPVRClientNextPVR : public kodi::addon::CInstancePVRClient PVR_ERROR GetChannelGroupsAmount(int& amount) override; PVR_ERROR GetChannelGroups(bool radio, kodi::addon::PVRChannelGroupsResultSet& results) override; PVR_ERROR GetChannelGroupMembers(const kodi::addon::PVRChannelGroup& group, kodi::addon::PVRChannelGroupMembersResultSet& 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 GetEPGForChannel(int channelUid, time_t start, time_t end, kodi::addon::PVREPGTagsResultSet& results) override; //PVR_ERROR SetEPGTimeFrame(int epgMaxDays) override;