miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
466 stars 110 forks source link

Async API crashes when using AirPlay 2 #109

Open ntorring opened 5 years ago

ntorring commented 5 years ago

My Pioneer SX-S30DAB has just been updated with AirPlay 2 support. But when i power on my receiver from AirPlay, and adjust the volume from my phone, the Receiver thread crashes with the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/eiscp/core.py", line 559, in _thread_loop
    msg = eISCP.get(self, False)
  File "/usr/local/lib/python2.7/dist-packages/eiscp/core.py", line 440, in get
    header = eISCPPacket.parse_header(header_bytes)
  File "/usr/local/lib/python2.7/dist-packages/eiscp/core.py", line 111, in parse_header
    assert magic == 'ISCP'
AssertionError
zeha commented 5 years ago

Same here, with an Onkyo TX-L20D.