Skip to content

Commit

Permalink
Merge pull request #163 from ksooo/piers-api-9-0-0
Browse files Browse the repository at this point in the history
v22.1.0: PVR Add-on API v9.0.0
  • Loading branch information
ksooo authored Aug 16, 2024
2 parents ff44dbb + ffe02a0 commit 9749492
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.demo/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.demo"
version="22.0.0"
version="22.1.0"
name="Demo PVR Client"
provider-name="Pulse-Eight Ltd., Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.demo/changelog.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 3 additions & 1 deletion src/PVRDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ PVR_ERROR CPVRDemo::GetChannels(bool bRadio, kodi::addon::PVRChannelsResultSet&
}

PVR_ERROR CPVRDemo::GetChannelStreamProperties(
const kodi::addon::PVRChannel& channel, std::vector<kodi::addon::PVRStreamProperty>& properties)
const kodi::addon::PVRChannel& channel,
PVR_SOURCE source,
std::vector<kodi::addon::PVRStreamProperty>& properties)
{
PVRDemoChannel addonChannel;
GetChannel(channel, addonChannel);
Expand Down
1 change: 1 addition & 0 deletions src/PVRDemo.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class ATTR_DLL_LOCAL CPVRDemo : public kodi::addon::CAddonBase,
PVR_ERROR GetSignalStatus(int channelUid, kodi::addon::PVRSignalStatus& signalStatus) override;
PVR_ERROR GetChannelStreamProperties(
const kodi::addon::PVRChannel& channel,
PVR_SOURCE source,
std::vector<kodi::addon::PVRStreamProperty>& properties) override;
PVR_ERROR GetRecordingStreamProperties(
const kodi::addon::PVRRecording& recording,
Expand Down

0 comments on commit 9749492

Please sign in to comment.