Skip to content

Commit

Permalink
Merge pull request #673 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 dbdb8a9 + a520d0e commit 73188fe
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.hts/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.hts"
version="22.0.0"
version="22.1.0"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp, Kai Sommerfeld">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.hts/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/Tvheadend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,9 @@ PVR_ERROR CTvheadend::GetChannels(bool radio, kodi::addon::PVRChannelsResultSet&
return PVR_ERROR_NO_ERROR;
}

PVR_ERROR CTvheadend::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel, std::vector<kodi::addon::PVRStreamProperty>& properties)
PVR_ERROR CTvheadend::GetChannelStreamProperties(const kodi::addon::PVRChannel& channel,
PVR_SOURCE source,
std::vector<kodi::addon::PVRStreamProperty>& properties)
{
if (!m_settings->GetStreamingHTTP())
return PVR_ERROR_NO_ERROR;
Expand Down
1 change: 1 addition & 0 deletions src/Tvheadend.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class ATTR_DLL_LOCAL CTvheadend : 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,
PVR_SOURCE source,
std::vector<kodi::addon::PVRStreamProperty>& properties) override;

PVR_ERROR GetRecordingsAmount(bool deleted, int& amount) override;
Expand Down

0 comments on commit 73188fe

Please sign in to comment.