ol-iver / denonavr

Automation Library for Denon AVR receivers.
MIT License
176 stars 67 forks source link

Wait for confirmations from the receiver when sending telnet messages #281

Closed ol-iver closed 9 months ago

ol-iver commented 9 months ago

Some telnet commands like changing the sound mode block the receiver for while. In the meantime they ignore any sent commands. With this PR the telnet interface locks the telnet send command until it receives a confirmation message. The lock also expires after 2 seconds without an confirmation.

Fixes #274