Kodi Development  20.0
for Binary and Script based Add-Ons

Detailed Description

Data structure for descrample info
Information data to give via this to Kodi.

As description see also here https://en.wikipedia.org/wiki/Conditional_access.

Used on kodi::addon::CInstancePVRClient::GetDescrambleInfo().


The following table contains values that can be set with class PVRDescrambleInfo :

Name Type Set call Get call Usage
Packet identifier int SetPID GetPID optional
Conditional access identifier int SetCAID GetCAID optional
Provider-ID int SetProviderID GetProviderID optional
ECM time int SetECMTime GetECMTime optional
Hops int SetHops GetHops optional
Descramble card system std::string SetHops GetHops optional
Reader std::string SetReader GetReader optional
From std::string SetFrom GetFrom optional
Protocol std::string SetProtocol GetProtocol optional

Modules

 Value Help
 

Macro Definition Documentation

◆ PVR_DESCRAMBLE_INFO_NOT_AVAILABLE

#define PVR_DESCRAMBLE_INFO_NOT_AVAILABLE   -1

Special class PVRDescrambleInfo value to indicate that a struct member's value is not available.

Function Documentation

◆ SetPID()

void SetPID ( int  pid)
inline

optional
Packet identifier.

Each table or elementary stream in a transport stream is identified by a 13-bit packet identifier (PID).

Is PVR_DESCRAMBLE_INFO_NOT_AVAILABLE as default, if not available

◆ GetPID()

int GetPID ( ) const
inline

To get with SetPID changed values.

◆ SetCAID()

void SetCAID ( int  iCaid)
inline

optional
Conditional access identifier.

Conditional access (abbreviated CA) or conditional access system (abbreviated CAS) is the protection of content by requiring certain criteria to be met before granting access to the content.

Available CA system ID's listed here https://www.dvbservices.com/identifiers/ca_system_id.

PVR_DESCRAMBLE_INFO_NOT_AVAILABLE if not available.

◆ GetCAID()

int GetCAID ( ) const
inline

To get with SetCAID changed values.

◆ SetProviderID()

void SetProviderID ( int  provid)
inline

optional
Provider-ID.

Is PVR_DESCRAMBLE_INFO_NOT_AVAILABLE as default, if not available.

◆ GetProviderID()

int GetProviderID ( ) const
inline

To get with SetProviderID changed values.

◆ SetECMTime()

void SetECMTime ( int  ecmTime)
inline

optional
ECM time.

Is PVR_DESCRAMBLE_INFO_NOT_AVAILABLE as default, if not available.

◆ GetECMTime()

int GetECMTime ( ) const
inline

To get with SetECMTime changed values.

◆ SetHops()

void SetHops ( int  hops)
inline

optional
Hops.

Is PVR_DESCRAMBLE_INFO_NOT_AVAILABLE as default, if not available.

◆ GetHops()

int GetHops ( ) const
inline

To get with SetHops changed values.

◆ SetCardSystem()

void SetCardSystem ( const std::string &  cardSystem)
inline

optional
Empty string if not available.

◆ GetCardSystem()

std::string GetCardSystem ( ) const
inline

To get with SetCardSystem changed values.

◆ SetReader()

void SetReader ( const std::string &  reader)
inline

optional
Empty string if not available.

◆ GetReader()

std::string GetReader ( ) const
inline

To get with SetReader changed values.

◆ SetFrom()

void SetFrom ( const std::string &  from)
inline

optional
Empty string if not available.

◆ GetFrom()

std::string GetFrom ( ) const
inline

To get with SetFrom changed values.

◆ SetProtocol()

void SetProtocol ( const std::string &  protocol)
inline

optional
Empty string if not available.

◆ GetProtocol()

std::string GetProtocol ( ) const
inline

To get with SetProtocol changed values.