From 4056f0a6f6b022d1c08dfc3920ae156021d86217 Mon Sep 17 00:00:00 2001 From: ksooo <3226626+ksooo@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:36:19 +0200 Subject: [PATCH] v22.1.0: PVR Add-on API v9.0.0 --- pvr.sledovanitv.cz/addon.xml.in | 2 +- src/Data.cpp | 2 +- src/Data.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pvr.sledovanitv.cz/addon.xml.in b/pvr.sledovanitv.cz/addon.xml.in index 3549a58..b7e752d 100644 --- a/pvr.sledovanitv.cz/addon.xml.in +++ b/pvr.sledovanitv.cz/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/src/Data.cpp b/src/Data.cpp index 9f13866..7bb71b4 100644 --- a/src/Data.cpp +++ b/src/Data.cpp @@ -872,7 +872,7 @@ PVR_ERROR Data::GetChannels(bool radio, kodi::addon::PVRChannelsResultSet& resul return PVR_ERROR_NO_ERROR; } -PVR_ERROR Data::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, std::vector& properties) +PVR_ERROR Data::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, PVR_SOURCE source, std::vector& properties) { std::string streamUrl, streamType; bool isDrm; diff --git a/src/Data.h b/src/Data.h index a5fc360..0ede704 100644 --- a/src/Data.h +++ b/src/Data.h @@ -155,7 +155,7 @@ class ATTR_DLL_LOCAL Data : public kodi::addon::CInstancePVRClient 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 GetSignalStatus(int channelUid, kodi::addon::PVRSignalStatus& signalStatus) override; PVR_ERROR GetEPGForChannel(int channelUid, time_t start, time_t end, kodi::addon::PVREPGTagsResultSet& results) override; PVR_ERROR IsEPGTagPlayable(const kodi::addon::PVREPGTag& tag, bool& isPlayable) override;