Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Matrix] API change updates #132

Merged
merged 4 commits into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pvr.dvblink/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.dvblink"
version="5.2.8"
version="5.2.9"
name="TVMosaic/DVBLink PVR Client"
provider-name="DVBLogic">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.dvblink/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[B]Version 5.2.9[/B]
Update: PVR API 6.5.0

[B]Version 5.2.8[/B]
Update: PVR API 6.4.0
Update: Add license name, forum url and source url to addon.xml
Expand Down
2 changes: 1 addition & 1 deletion src/DVBLinkClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const char* DVBLinkClient::GetBackendVersion()
return server_caps_.server_version_.c_str();
}

void DVBLinkClient::GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
void DVBLinkClient::GetCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
{
pCapabilities->bSupportsEPG = true;
pCapabilities->bSupportsRecordings = server_caps_.recordings_supported_;
Expand Down
2 changes: 1 addition & 1 deletion src/DVBLinkClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class DVBLinkClient: public P8PLATFORM::CThread
std::string password, bool add_episode_to_rec_title, bool group_recordings_by_series, bool no_group_single_rec, int default_update_interval, int default_rec_show_type);
~DVBLinkClient(void);
const char *GetBackendVersion();
void GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities);
void GetCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities);
int GetChannelsAmount();
PVR_ERROR GetChannels(ADDON_HANDLE handle, bool bRadio);
PVR_ERROR GetEPGForChannel(ADDON_HANDLE handle, int iChannelUid, time_t iStart, time_t iEnd);
Expand Down
10 changes: 5 additions & 5 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ADDON_STATUS ADDON_Create(void* hdl, void* props)
if (!hdl || !props)
return ADDON_STATUS_UNKNOWN;

PVR_PROPERTIES* pvrprops = (PVR_PROPERTIES*) props;
AddonProperties_PVR* pvrprops = (AddonProperties_PVR*) props;

XBMC = new CHelper_libXBMC_addon;
if (!XBMC->RegisterMe(hdl))
Expand Down Expand Up @@ -433,13 +433,13 @@ void OnPowerSavingDeactivated()
{
}

PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
PVR_ERROR GetCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
{
if (dvblinkclient)
{
if (dvblinkclient->GetStatus())
{
dvblinkclient->GetAddonCapabilities(pCapabilities);
dvblinkclient->GetCapabilities(pCapabilities);
return PVR_ERROR_NO_ERROR;
}
}
Expand Down Expand Up @@ -683,7 +683,7 @@ PVR_ERROR GetRecordingEdl(const PVR_RECORDING&, PVR_EDL_ENTRY[], int*)
return PVR_ERROR_NOT_IMPLEMENTED;
}

PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS &signalStatus)
PVR_ERROR GetSignalStatus(int channelUid, PVR_SIGNAL_STATUS *signalStatus)
{
return PVR_ERROR_NO_ERROR;
}
Expand Down Expand Up @@ -894,7 +894,7 @@ void SetSpeed(int)
{
}

PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO* descrambleInfo)
PVR_ERROR GetDescrambleInfo(int channelUid, PVR_DESCRAMBLE_INFO* descrambleInfo)
{
return PVR_ERROR_NOT_IMPLEMENTED;
}
Expand Down