Improved Android TV device connection & reconnection logic with various fixes.
Check internal AndroidTV protocol state before sending a command.
Force a reconnect if the internal state indicates a broken connection.
Use a decorator to handle connection check and error handling.
Handle auth errors and allow to pair again in the setup flow.
Devices with auth error are prefixes with "!" in the device dropdown.
Increase connection timeout to 10 seconds.
Fixes #28
Other fixes:
Re-authenticate a configured device.
If a device requires pairing, the setup flow creates a new client certificate and then successfully reconnects the configured device.
Proper configuration and certificate file migration from last release.
Fixes #37
Hostname as client name by default, with UC_CLIENT_NAME ENV var as override.
Fixes #39
Improved Android TV device connection & reconnection logic with various fixes.
Fixes #28
Other fixes:
UC_CLIENT_NAME
ENV var as override. Fixes #39