Volumio-WebUI icon indicating copy to clipboard operation
Volumio-WebUI copied to clipboard

Fix hang on backendRequest error

Open jbandhauer opened this issue 9 years ago • 0 comments

_player_engine.php blocks indefinately when the state sent by the client matches the current state. But, in the case where the backendRequest hits an error, the app starts trying to reconnect in a setTimeout loop while it shows a modal UI. So, we don't want _player_engine to block.

This adds an option to backendRequest to send state or not for the cases we want it to block or not.

jbandhauer avatar Feb 20 '16 22:02 jbandhauer