Skip to content

Commit

Permalink
Merge pull request #88 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 c967b8f + 4a0aeff commit d0dff35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pvr.dvbviewer/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.dvbviewer"
version="4.1.7"
version="4.1.8"
name="DVBViewer Client"
provider-name="Manuel Mausz">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.dvbviewer/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
4.1.8:
[updated] PVR API 6.5.0

4.1.7:
[updated] PVR API 6.4.0
[updated] Add license name, forum url and source url to addon.xml
Expand Down
10 changes: 5 additions & 5 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ADDON_STATUS ADDON_SetSetting(const char *settingName, const void *settingValue)
/***********************************************************
* PVR Client AddOn specific public library functions
***********************************************************/
PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
PVR_ERROR GetCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
{
pCapabilities->bSupportsEPG = true;
pCapabilities->bSupportsTV = true;
Expand Down Expand Up @@ -171,11 +171,11 @@ const char *GetBackendHostname(void)
return DvbData->GetSettings().m_hostname.c_str();
}

PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS &signalStatus)
PVR_ERROR GetSignalStatus(int channelUid, PVR_SIGNAL_STATUS *signalStatus)
{
// the RS api doesn't provide information about signal quality (yet)
PVR_STRCPY(signalStatus.strAdapterName, "DVBViewer Media Server");
PVR_STRCPY(signalStatus.strAdapterStatus, "OK");
PVR_STRCPY(signalStatus->strAdapterName, "DVBViewer Media Server");
PVR_STRCPY(signalStatus->strAdapterStatus, "OK");
return PVR_ERROR_NO_ERROR;
}

Expand Down Expand Up @@ -539,6 +539,6 @@ PVR_ERROR GetEPGTagStreamProperties(const EPG_TAG*, PVR_NAMED_VALUE*, unsigned i
PVR_ERROR GetEPGTagEdl(const EPG_TAG* epgTag, PVR_EDL_ENTRY edl[], int *size) { return PVR_ERROR_NOT_IMPLEMENTED; }
bool SeekTime(double, bool, double*) { return false; }
void SetSpeed(int) {}
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetDescrambleInfo(int, PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }

}

0 comments on commit d0dff35

Please sign in to comment.