From 1e92aa42628f87756a3ead40054c612b0c6741c2 Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Wed, 13 Sep 2023 10:51:15 +0200 Subject: ogClient: open event socket in live mode Listen for event datagrams at UDP port 55885 in live mode too. The same as when running Linux or Windows mode. --- src/ogClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ogClient.py b/src/ogClient.py index 31ee5d3..c4dcd7e 100644 --- a/src/ogClient.py +++ b/src/ogClient.py @@ -33,7 +33,7 @@ class ogClient: if self.mode not in {'virtual', 'live', 'linux', 'windows'}: logging.critical('Invalid ogClient mode') raise ValueError('Mode not supported.') - if self.mode in {'linux', 'windows'}: + if self.mode in {'linux', 'windows', 'live'}: self.event_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.event_sock.setblocking(0) self.event_sock.bind(('127.0.0.1', 55885)) -- cgit v1.2.3-18-g5258