Skip to content

Commit

Permalink
Merge pull request #79 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] API change updates
  • Loading branch information
AlwinEsch authored Apr 30, 2020
2 parents 115898b + 8ed1cbb commit 72dda76
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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="4.1.4"
version="4.1.5"
name="PVR Demo Client"
provider-name="Pulse-Eight Ltd., Team Kodi">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
12 changes: 6 additions & 6 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,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 @@ -130,7 +130,7 @@ void OnPowerSavingDeactivated()
{
}

PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
PVR_ERROR GetCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
{
pCapabilities->bSupportsEPG = true;
pCapabilities->bSupportsTV = true;
Expand Down Expand Up @@ -268,10 +268,10 @@ PVR_ERROR GetChannelGroupMembers(ADDON_HANDLE handle, const PVR_CHANNEL_GROUP &g
return PVR_ERROR_SERVER_ERROR;
}

PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS &signalStatus)
PVR_ERROR GetSignalStatus(int channelUid, PVR_SIGNAL_STATUS* signalStatus)
{
snprintf(signalStatus.strAdapterName, sizeof(signalStatus.strAdapterName), "pvr demo adapter 1");
snprintf(signalStatus.strAdapterStatus, sizeof(signalStatus.strAdapterStatus), "OK");
snprintf(signalStatus->strAdapterName, sizeof(signalStatus->strAdapterName), "pvr demo adapter 1");
snprintf(signalStatus->strAdapterStatus, sizeof(signalStatus->strAdapterStatus), "OK");

return PVR_ERROR_NO_ERROR;
}
Expand Down Expand Up @@ -401,7 +401,7 @@ bool IsRealTimeStream(void) { return true; }
PVR_ERROR UndeleteRecording(const PVR_RECORDING& recording) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR DeleteAllRecordingsFromTrash() { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR SetEPGTimeFrame(int) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetDescrambleInfo(int channelUid, PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR SetRecordingLifetime(const PVR_RECORDING*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetStreamProperties(PVR_STREAM_PROPERTIES*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetStreamTimes(PVR_STREAM_TIMES*) { return PVR_ERROR_NOT_IMPLEMENTED; }
Expand Down

0 comments on commit 72dda76

Please sign in to comment.