Kodi Development  20.0
for Binary and Script based Add-Ons

Source parts:

bool CMyInstance::OpenLiveStream(const kodi::addon::PVRChannel& channel)
{
return false;
}
void CMyInstance::CloseLiveStream()
{
}
int CMyInstance::ReadLiveStream(unsigned char* buffer, unsigned int size)
{
return 0;
}
int64_t CMyInstance::SeekLiveStream(int64_t position, int whence)
{
return 0;
}
int64_t CMyInstance::LengthLiveStream()
{
return 0;
}
PVR_ERROR CMyInstance::GetStreamProperties(std::vector<kodi::addon::PVRStreamProperties>& properties)
{
}
DEMUX_PACKET* CMyInstance::DemuxRead()
{
return nullptr;
}
void CMyInstance::DemuxReset()
{
}
void CMyInstance::DemuxAbort()
{
}
void CMyInstance::DemuxFlush()
{
}
void CMyInstance::SetSpeed(int speed)
{
}
void CMyInstance::FillBuffer(bool mode)
{
}
bool CMyInstance::SeekTime(double time, bool backwards, double& startpts)
{
return false;
}
Definition: Channels.h:39
Definition: demux_packet.h:46
PVR_ERROR
Definition: pvr_general.h:35
@ PVR_ERROR_NOT_IMPLEMENTED
-2 : The method that Kodi called is not implemented by the add-on.
Definition: pvr_general.h:43