2022-02-27, 11:18
I don't get this
https://github.com/kodi-pvr/pvr.vdr.vnsi...e.cpp#L177
Isn't it always return false?
https://github.com/kodi-pvr/pvr.vdr.vnsi...e.cpp#L177
cpp:
bool CVNSIClientInstance::SupportRecordingsUndelete()
{
if (GetProtocol() > 7)
{
cRequestPacket vrp;
vrp.init(VNSI_RECORDINGS_DELETED_ACCESS_SUPPORTED);
auto vresp = ReadResult(&vrp);
if (!vresp)
{
kodi::Log(ADDON_LOG_INFO, "%s - Can't get response packed", __func__);
return false;
}
uint32_t ret = vresp->extract_U32();
return ret == VNSI_RET_OK ? true : false;
}
kodi::Log(ADDON_LOG_INFO, "%s - Undelete not supported on backend (min. Ver. 1.3.0; Protocol 7)",
__func__);
return false;
}
Isn't it always return false?