def libvlc_hex_version():
 try:
  return _dot2int(bytes_to_str(libvlc_get_version()).split()[0])
 except ValueError:
  return 0

def libvlc_hex_version ( ) : try : return _dot2int ( bytes_to_str ( libvlc_get_version ( ) ) . split ( ) [ 0 ] ) except ValueError : return 0
return the libvlc version in hex or 0 if unavailable .