From 159d3be0c21c63258dbb79d494cc99abe54d5a36 Mon Sep 17 00:00:00 2001 From: kanjoe24 <165808281+kanjoe24@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:37:44 +0000 Subject: [PATCH] Fix gh #133 : Fix the number of retries before reading input from CECAdapter --- framework/core/hdmicecModules/remoteCECClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/hdmicecModules/remoteCECClient.py b/framework/core/hdmicecModules/remoteCECClient.py index 399ebce..358ea48 100644 --- a/framework/core/hdmicecModules/remoteCECClient.py +++ b/framework/core/hdmicecModules/remoteCECClient.py @@ -80,7 +80,7 @@ def sendMessage(self, sourceAddress: str, destAddress: str, opCode: str, payload def listDevices(self) -> list: self._console.write(f'scan') - output = self._stream.readUntil('currently active source',30) + output = self._stream.readUntil('currently active source',90) devices = [] if len(output) > 0: output = '\n'.join(output) @@ -128,4 +128,4 @@ def formatMessage(self, sourceAddress, destAddress, opCode, payload = None): if payload: payload_string = ':'.join(map(lambda x: x[2:], payload)) message_string += ':' + payload_string - return message_string.lower() \ No newline at end of file + return message_string.lower()