Hello
I getting problem when I execute client list command from my ClientQuery.
I have this code python:
Code:
send(s, 'clientlist')
(dataCl, errCl) = receive(s)
if not errCl:
cl = dataCl[0].split('|')
print list(dataCl)
But I receive it:
Code:
>> clientlis
<< cid=18140 channel_name=Music
<< error id=0 msg=ok
['cid=18140 channel_name=Music', 'error id=0 msg=ok'] (print list)
Why I receive the name of a channel? I try getting the client list only.
What is the correct way to perform multiple commands?
Like:
Code:
while True:
command 1
command 2
command 3
--- edit ---
I change the order of clientlist and now I receive it:
>> clientlist
<< selected schandlerid=2
<< error id=0 msg=ok
No se pudo obtener el cliente id: selected schandlerid=2
Why I get schandlerid now?
Why the clientlist return the before command was executed?