working except leds

This commit is contained in:
2024-03-13 00:01:31 +01:00
parent 6bd5838c24
commit 19ab152729
2 changed files with 4 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ class CallManager:
try:
self.call_process = subprocess.Popen(['parole', '-c', station['host'], '-d', self.config['audio device']])
s = socket.socket()
print('host=', station['host'])
print('port=', station['port'])
s.connect((station['host'], station['port']))
s.send(OP_CALL)
response = s.recv(1024)