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

Add parsing for NRI #130

Closed ktnrg45 closed 3 years ago

ktnrg45 commented 3 years ago

Tested with Onkyo: HT-R695.

Wanted to get a list of available input sources for my receiver. Noticed that the sources are present in the NRI XML string returned using eISCP.command("dock.receiver-information=query"). Came up with this implementation to parse the string at high-level. I do not have any other receivers to test this.

miracle2k commented 3 years ago

Nice, thanks.