kodi
|
Public Member Functions | |
def | __init__ (self, devicename=None, icon_type=ICON_NONE, icon_file=None) |
![]() | |
def | __init__ (self) |
def | append_payload (self, blob) |
def | set_payload (self, payload) |
def | num_packets (self) |
def | get_header (self, packettype=-1, seq=1, maxseq=1, payload_size=0) |
def | get_payload_size (self, seq) |
def | get_udp_message (self, packetnum=1) |
def | send (self, sock, addr, uid=UNIQUE_IDENTIFICATION) |
Public Attributes | |
packettype | |
icontype | |
![]() | |
sig | |
minver | |
majver | |
seq | |
maxseq | |
payloadsize | |
uid | |
reserved | |
payload | |
A HELO packet A HELO packet establishes a valid connection to XBMC. It is the first packet that should be sent.
def python.xbmcclient.PacketHELO.__init__ | ( | self, | |
devicename = None , |
|||
icon_type = ICON_NONE , |
|||
icon_file = None |
|||
) |
Keyword arguments: devicename -- the string that identifies the client icon_type -- one of ICON_NONE, ICON_JPEG, ICON_PNG, ICON_GIF icon_file -- location of icon file with respect to current working directory if icon_type is not ICON_NONE