working except leds
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user