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

NSV command dont work (net service) #140

Open Dingin-rkv opened 2 years ago

Dingin-rkv commented 2 years ago

Hi, Im trying to elect Spotify and DTS play-fi from the network submenu but it shows an error in any of the options. here is the results root@HomeAssistant:~# onkyo NSV0A Traceback (most recent call last): File "/usr/local/bin/onkyo", line 8, in <module> sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/eiscp/script.py", line 179, in run sys.exit(main() or 0) File "/usr/local/lib/python3.8/dist-packages/eiscp/script.py", line 136, in main response = receiver.raw(iscp_message) File "/usr/local/lib/python3.8/dist-packages/eiscp/core.py", line 470, in raw return filter_for_message(self.get, iscp_message) File "/usr/local/lib/python3.8/dist-packages/eiscp/core.py", line 260, in filter_for_message candidate = getter_func(0.05) File "/usr/local/lib/python3.8/dist-packages/eiscp/core.py", line 440, in get header = eISCPPacket.parse_header(header_bytes) File "/usr/local/lib/python3.8/dist-packages/eiscp/core.py", line 101, in parse_header assert len(bytes) == 16 AssertionError NSV is for network service and 0A is for spotify.

also here is an updated selection list: `

` Thanks for your great work!