Skip to content

Commit

Permalink
[API related] change SignalStatus and GetDescrambleInfo (channelUid a…
Browse files Browse the repository at this point in the history
…dded)
  • Loading branch information
AlwinEsch committed Apr 29, 2020
1 parent 7b8a6cf commit 0b86a42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client.cpp
Original file line number Diff line number Diff line change
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 0b86a42

Please sign in to comment.